| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
lock file" would trash errno, creating confusion.
One instance found by richardipsum@fastmail, other two identified from
original commit
ok millert
|
|
|
|
|
|
|
|
|
| |
YP lock file unconditionally. This hints to the kernel that a "getpw"
operation is happening, even in the non-YP case. This looks like a
gruesome hack, but helps refine the ways these functions are called
and mandates the right pledge requests. Once the tree is fully annotated
we will know better how to improve the backing store management.
ok semarie espie beck
|
|
|
|
| |
Delete unused 'fd' argument from internal function oldttyname()
|
|
|
|
|
| |
is non-portable. Also add missing asprintf() return value checks.
OK deraadt@ guenther@ doug@
|
|
|
|
|
|
|
| |
of the resulting FILE *), then pass fopen() the 'e' mode letter to
mark it close-on-exec.
ok miod@
|
|
|
|
|
| |
problem reproduced and fix verified by schwarze who wrote the code
ok krw@ deraadt@ schwarze@
|
|
|
|
| |
silence some warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
committing on behalf of and okay guenther@ now that we have install
media space available.
|
|
|
|
| |
media to fit
|
|
|
|
|
|
|
|
|
|
|
|
| |
internally when and where required. Macros in <stdio.h> are updated
to automatically call the underlying functions when the process is
threaded to obtain the necessary locking. A private mutex is added
to protect __sglue, the internal list of FILE handles, and another
to protect the one-time initialization. Some routines in libc that
use getc() change to use getc_unlocked() as they're either protected
by their own lock or aren't thread-safe routines anyway.
ok kurt@, earlier version tested by sthen@ and jj@
|
|
|
|
|
| |
fixing a regression introduced in rev. 1.16 spotted by otto@;
ok millert@ otto@
|
|
|
|
|
|
|
|
| |
YP group(5) exclusion, i.e. support -groupname:*:: in /etc/group.
Such groups will be excluded from later +:*::,
in just the same was as it is already done for passwd(5).
I have been running this since the autumn of 2008.
Discussed with several (including deraadt@, millert@, jmc@).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
contains a matching entry, use that and refrain from accessing YP.
getpwnam/getpwuid: If YP is #defined and /etc/master.passwd(5) contains
a matching entry before the first YP entry, use that and stay away from YP.
Taken together, this allows a solution to the following problem pointed
out by deraadt@: When YP was configured but temporarily unavailable, even
root login would block, hindering you when trying to do repairs.
To avoid this, you can now provide a static entry for root in /etc/netid.
Using suggestions from miod@ otto@ blambert@ jmc@.
"commit" deraadt@, "cool" ajacoutot@, "looks fine" jmc@.
|
|
|
|
| |
ok otto@ deraadt@
|
|
|
|
|
| |
in the file. Problem spotted by drahn.
ok millert
|
|
|
|
|
|
|
| |
groups map but instead tells us that it is there. then use this interface
in getgrouplist(), and do a single lookup against netid.byname instead to
get all the groups associated with that user
ok kurt, testing by many others
|
|
|
|
|
|
| |
Kill old files that are no longer compiled.
okay theo
|
| |
|
|
|
|
| |
ok millert@
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Remove unused variables
Silence some warnings
lint(1) is your friend
|
|
|
|
| |
Make sure everything uses {SYS,}LIBC_SCCS properly
|
|
|
|
| |
Do the right thing in presense of __STDC__
|
|
|