You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rich Felker
814aae2009
overhaul forkpty function using new login_tty
based on discussion with and patches by Felix Janda. these changes
started as an effort to factor forkpty in terms of login_tty, which
returns an error and skips fd reassignment and closing if setting the
controlling terminal failed. the previous forkpty code was unable to
handle errors in the child, and did not attempt to; it just silently
ignored them. but this would have been unacceptable when switching to
using login_tty, since the child would start with the wrong stdin,
stdout, and stderr and thereby clobber the parent's files.
the new code uses the same technique as the posix_spawn implementation
to convey any possible error in the child to the parent so that the
parent can report failure to the caller. it is also safe against
thread cancellation and against signal delivery in the child prior to
the determination of success.
12 years ago
..
a64l.c
implement a64l and l64a (legacy xsi stuff)
14 years ago
basename.c
alias basename to glibc name for it, to meet abi goals
15 years ago
dirname.c
fix dirname to handle input of form "foo/" correctly
14 years ago
ffs.c
optimize legacy ffs function
14 years ago
ffsl.c
implement ffsl and ffsll functions
12 years ago
ffsll.c
implement ffsl and ffsll functions
12 years ago
fmtmsg.c
implement fmtmsg function
12 years ago
forkpty.c
overhaul forkpty function using new login_tty
12 years ago
get_current_dir_name.c
optimize get_current_dir_name to reduce stack bloat
13 years ago
getauxval.c
provide getauxval(AT_SECURE) even if it is missing from the aux vector
12 years ago
getdomainname.c
add setdomainname syscall, fix getdomainname (previously a stub)
14 years ago
getgrouplist.c
include cleanups: remove unused headers and add feature test macros
13 years ago
gethostid.c
cleanup src/linux and src/misc trees, etc.
14 years ago
getopt.c
add error message printing to getopt_long and make related improvements
12 years ago
getopt_long.c
set optopt in getopt_long
12 years ago
getpriority.c
global cleanup to use the new syscall interface
15 years ago
getresgid.c
add getresuid and getresgid syscall wrappers
14 years ago
getresuid.c
add getresuid and getresgid syscall wrappers
14 years ago
getrlimit.c
fix for broken kernel side RLIM_INFINITY on mips
12 years ago
getrusage.c
include cleanups: remove unused headers and add feature test macros
13 years ago
getsubopt.c
initial check-in, version 0.5.0
15 years ago
initgroups.c
include cleanups: remove unused headers and add feature test macros
13 years ago
ioctl.c
global cleanup to use the new syscall interface
15 years ago
issetugid.c
add issetugid function to check for elevated privilege
12 years ago
lockf.c
initial check-in, version 0.5.0
15 years ago
login_tty.c
add login_tty function
12 years ago
mntent.c
make endmntent function handle null argument
12 years ago
nftw.c
fix nftw FTW_MOUNT flag
12 years ago
openpty.c
block pthread cancellation in openpty function
12 years ago
ptsname.c
fix ptsname_r to conform to the upcoming posix requirements
14 years ago
pty.c
fix negated error codes from ptsname_r
12 years ago
realpath.c
support kernels with no SYS_open syscall, only SYS_openat
12 years ago
setdomainname.c
add setdomainname syscall, fix getdomainname (previously a stub)
14 years ago
setpriority.c
fix typo in setpriority syscall wrapper
13 years ago
setrlimit.c
fix for broken kernel side RLIM_INFINITY on mips
12 years ago
syscall.c
use syscall_arg_t for arguments in public syscall() function
12 years ago
syslog.c
implement the LOG_CONS option in syslog
12 years ago
uname.c
include cleanups: remove unused headers and add feature test macros
13 years ago
wordexp.c
fix and refactor child reaping logic in wordexp
13 years ago