| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
bugs in your code is to put it in the -stable branch. (Corollary: the
day you discover the bug is the day the Internet decides to route your
telnet session to the repository box via Zimbabwe.)
Remove one bogus free(result) (from _havemaster()) that slipped by me.
Flagged by: phkmalloc
Pointed out to me by: Stefan Esser
Notes:
svn path=/head/; revision=15668
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15635
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a nutshell, this macroizes the local/global symbol scoping rules
that are different in a.out and ELF. It also makes the i386 assembler
stubs conform to i386 PIC calling conventions - the a.out ld.so didn't
object, but the ELF one needs it as it implements PIC jumps via PLT's as
well as calls. The a.out rtld only worked because it was accidently
snooping the grandparent calling function's return address off the stack..
This also affects the libc_r code a little, because of cpp macro nesting.
Notes:
svn path=/head/; revision=15634
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each of the ypclnt functions does a _yp_dobind() when it starts and then
a _yp_unbind() when it finishes. This is not strictly necessary and it
wastes cycles: it means we do a new clnt_create() and clnt_destroy()
for each yp_whatever() call. In fact, you can do multiple clnt_call()s
using a single RPC client handle returned by clnt_create(). Ideally we only
have to create a handle to ypserv once (the first time we call a ypclnt
function) and then destroy it and rebind only if a call to ypserv fails.
- Modify _yp_dobind() so that it only creates a new RPC client handle
when establishing a new binding or when one of the ypclnt calls
invalidates an existing binding and calls _yp_dobind() to establish
a new one.
- Modify the various ypclnt functions to only call _yp_unbind() if a
call to ypserv fails.
Notes:
svn path=/head/; revision=15547
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15533
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15529
|
| |
|
|
|
|
|
| |
Use getpagesize instead of CLBYTES.
Notes:
svn path=/head/; revision=15528
|
| |
|
|
|
|
|
| |
needs some other cleanup, but it is good enough for now.
Notes:
svn path=/head/; revision=15522
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15521
|
| |
|
|
|
|
|
| |
Submitted by: James Raynard <jraynard@dial.pipex.com>
Notes:
svn path=/head/; revision=15518
|
| |
|
|
|
|
|
| |
<sys/types.h>.
Notes:
svn path=/head/; revision=15489
|
| |
|
|
|
|
|
| |
<sys/types.h>.
Notes:
svn path=/head/; revision=15488
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15487
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15486
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to
be included before <stddef.h> or <stdlib.h> to get rune_t declared.
Now rune_t is declared perfectly bogusly in all cases when <ctype.h>
is included.
This change breaks similar (but more convoluted) convolutions in the
stddef.h in gcc distributions. Ports of gcc should avoid using the
gcc headers.
Notes:
svn path=/head/; revision=15483
|
| |
|
|
|
|
|
| |
libforms back into sync.
Notes:
svn path=/head/; revision=15460
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In __initdb(), a failure to open the local password database is supposed
to result in a warning message being syslog()ed. This warning is only
supposed to be generated as long as the 'warned' flag hasn't been yet;
once the warning is generated, the flag should be set so that the message
is only syslog()ed once. However, while the state of the flag is checked
properly, the flag's state is never changed, so you always get multiple
warnings instead of just one.
Pointed out by: Peter Wemm
Notes:
svn path=/head/; revision=15446
|
| |
|
|
|
|
|
|
|
| |
Set_Boot_Blocks(). Boy, this one had me tearing my hair out!
I hate how the loader distinguishes between `extern char *foo' and
`extern char foo[]' sometimes! :-)
Notes:
svn path=/head/; revision=15444
|
| |
|
|
|
|
|
| |
out in my curses interfaces and spamming my screen.
Notes:
svn path=/head/; revision=15441
|
| |
|
|
|
|
|
|
|
|
|
| |
as any non-shadowed /etc/passwd. Ironically, all programs using S/Key
have already been setuid root except keyinfo(1).
This modification creates /etc/skeykeys with mode 0600 to prevent it
from being examined by ordinary users.
Notes:
svn path=/head/; revision=15400
|
| |
|
|
|
|
|
| |
Guess nobody's built these tests for quite awhile!
Notes:
svn path=/head/; revision=15375
|
| |
|
|
|
|
|
|
|
| |
This commit covers the man pages for most of the ANSI library functions.
A few others such as strtol.3 have to mention <sys/types.h> because they
mix ANSI interfaces with less well designed extensions.
Notes:
svn path=/head/; revision=15313
|
| |
|
|
|
|
|
|
| |
This commit covers most of the ANSI library functions. Many others only
need <sys/types.h> because they use u_xxx.
Notes:
svn path=/head/; revision=15312
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15308
|
| |
|
|
|
|
|
|
|
|
| |
Use .Va instead of .Fa to describe these variables.
Say a little about inconsistent declarations of sys_errlist in the BUGS
section.
Notes:
svn path=/head/; revision=15307
|
| |
|
|
|
|
|
| |
Plan9 specific flags.
Notes:
svn path=/head/; revision=15303
|
| |
|
|
|
|
|
|
| |
Remove unneded casts in sgetrune/sputrune
Submitted by: wcstombs fix by Mihoko Tanaka <m_tonaka@pa.yokogawa.co.jp>
Notes:
svn path=/head/; revision=15286
|
| |
|
|
|
|
|
| |
Submitted by: imp@village.org (Warner Losh)
Notes:
svn path=/head/; revision=15278
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
getnetgrent.c:
- Catch one bogon that snuck by: in _listmatch(), check for '\0'
rather than '\n'; strings returned from yp_match() are terminated
with a nul, not a newline.
getpwent.c:
- Rip out all of the +inclusion/-exclusion stuff from before and
replace it with something a little less grotty. The main problem
with the old mechanism was that it wasted many cycles processing
NIS entries even after it already knew they were to be exlcuded
(or not included, depending on your pointof view). The highlights
of these changes include:
o Uses an in-memory hash database table to keep track of all the
-@netgroup, -user, and -@group exclusions.
o Tries harder to duplicate the behavior normally obtained when using
NIS inclusions/exclusions on a flat /etc/passwd file (meaning things
come out in much the same order).
o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid()
operations instead of trying to do everything with one general
function, which didn't work as well as I thought it would.
o Uses both getnetgrent() and innetgr() to try to save time where
possible.
o Use only one special token in the local password database
(_PW_KEYYPBYNUM) instead of seperate tokens to mark + and -
entries (and stop using the counter tokens too). If this new
token doesn't exist, the code will make due with the standard
_PW_KEYBYNUM token in order to support older databases that
won't have the new token in them.
All this is an attempt to make this stuff work better in environments
with large NIS passwd databases.
Notes:
svn path=/head/; revision=15267
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Clear the _yp_innetgr flag immediately after calling setnetgrent() from
innetgr(). We only need the flag set to temporarily alter setnetgrent()'s
behavior. Previously, it was being cleared too late.
- When in NIS-only mode, innetgr() was wasting time doing unecessary
extra processing after it had already found a match.
- Remember to free memory allocated by the NIS functions during innetgr()
searches.
Notes:
svn path=/head/; revision=15264
|
| |
|
|
|
|
|
|
|
| |
bytes are copied to the destination string. Closes PR#1000.
Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
Notes:
svn path=/head/; revision=15165
|
| |
|
|
|
|
|
| |
Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
Notes:
svn path=/head/; revision=15164
|
| |
|
|
|
|
|
|
| |
related man pages. Comment out cross references to those man
pages from other man pages.
Notes:
svn path=/head/; revision=15136
|
| |
|
|
|
|
|
|
|
| |
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
Notes:
svn path=/head/; revision=15135
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15082
|
| |
|
|
|
|
|
| |
commands.
Notes:
svn path=/head/; revision=15074
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15049
|
| |
|
|
|
|
|
| |
remember who suggested the 'caveat' section. Sorry.
Notes:
svn path=/head/; revision=15047
|
| |
|
|
|
|
|
| |
"fact" that pipes were implemented as calls to socketpair().
Notes:
svn path=/head/; revision=15017
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14964
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14910
|
| |
|
|
|
|
|
| |
so return to absolute minimum of changed flags now
Notes:
svn path=/head/; revision=14870
|
| |
|
|
|
|
|
|
|
| |
clear PARODD bit too, help user program to set its own
parity via |
Set CREAD bit, it is 99% case
Notes:
svn path=/head/; revision=14858
|
| |
|
|
|
|
|
|
| |
converted them into .Fn macros where appropriate. Also fixed
up some minor formatting problems.
Notes:
svn path=/head/; revision=14855
|
| |
|
|
|
|
|
|
|
|
| |
nonstandard normal version and the standard threaded version.
Removed a bogus L in a constant. fpos_t's aren't longs, and casting to
fpos_t would be verbose.
Notes:
svn path=/head/; revision=14840
|
| |
|
|
|
|
|
| |
Reviewed by: mpp
Notes:
svn path=/head/; revision=14839
|
| |
|
|
|
|
|
| |
Fixed bogus cross references and a misordered line.
Notes:
svn path=/head/; revision=14838
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14815
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14814
|
| |
|
|
|
|
|
| |
POSIXly-incorrect programs.
Notes:
svn path=/head/; revision=14812
|