espie
7c85eadbc1
typo
21 years ago
tdeval
1edfc67741
Sanity fix.
reviewed by deraadt@, tedu@
21 years ago
jmc
d1997a41f0
kill memory.3;
suggested by deraadt@
21 years ago
jmc
5f7be64922
make Nm match Dt;
21 years ago
millert
440a67a653
Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGET
ioctl(2), an unprivileged process may allocate a pty and have its owner
and mode set appropriately. This means that programs such as xterm and
screen no longer need to be setuid. Programs using the openpty()
function require zero changes and will "just work".
Designed by beck@ and deraadt@; changes by beck@ with cleanup (and
a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me.
Tested by many.
21 years ago
jmc
4d7a99a203
make Nm match Dt; found by pb@
some of this ok espie@, all of it ok deraadt@
21 years ago
espie
5e55855984
punctuate variable; okay jmc@.
21 years ago
millert
dcd53dbbab
Traditionally, getopt(3) has treated "--foo" the same as "--". However,
this can cause confusion when a user tries to use a long option with
a program that only supports short options. Furthermore, it appears
to be in violation of POSIX, which states that "--" shall indicate
the end of argument processing, not any string that begins with "--".
OK otto@ and closes PR 3666.
21 years ago
jmc
eba3d1f25d
H comes before J;
21 years ago
millert
74d855aee3
Obsoleted by getopt_long.c
21 years ago
drahn
b8928f4a59
Correct the arm ifdefs previously inserted, is working correctly now.
21 years ago
tedu
67a5c4680e
'F'reeguard doc, as reported missing by brad. nit free thanks to jmc
21 years ago
drahn
e1297bffd8
s/arm32/arm/ with VFP bit to match netbsd.
21 years ago
mickey
c9f86afcbf
the rest of the libs stuff; from art@ again
21 years ago
jmc
6a9313d8c3
use new .St macro;
21 years ago
jmc
5180eeafb4
`Ns' implies `No', so `Ns No' -> `Ns'; (even simpler in adduser(8))
discussed with todd@
21 years ago
millert
cb3adf3a9c
Call _exit() not exit() from abort() if we are unable to kill ourselves
to avoid flushing stdio twice. This code path should never really
happen though. Also make the function declaration ANSI. OK deraadt@
21 years ago
millert
442cc4dad5
Fix the example code. The loop invariant 'i' was not bound by MAXTOKENS
which could result in writing a NUL byte outside of tokens[]. A fix, from
Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block.
21 years ago
fgsch
c03e1ae68d
- Rename index to longindex and explain its use.
- Talk about zeroing the last element of the longopts array.
- Remove '?' from the switch and some KNF to the code.
- Change 0's to NULL where appropriate.
jmc@ ok.
21 years ago
otto
c42a4efa7d
o Do not drop unit when printing -100
o Round negative numbers correctly
o Do not print fractional valus for byte values
ok ian@ henning@
21 years ago
markus
50eece2cbd
alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning
21 years ago
djm
826f436391
Discard first 256 bytes of keystream, as per recommendation in
"Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and
Shamir. ok itojun@
21 years ago
jmc
532d62d8fc
wording improvements from Brian Poole;
kill a .Pp before a display;
21 years ago
tedu
ab37eb8efb
only whine about recursion once, so we don't get into problems with loops.
21 years ago
jmc
3eae044b12
utilties -> utilities; from Jared Yanovich
21 years ago
tedu
b2f289ed65
by popular demand, malloc guard pages. insert an unreadable/unwriteable
page after each page size allocation to detect overrun. this is
somewhat electric fence like, while attempting to be mostly usable in
production. also, use tdeval's chunk randomization code.
enabled with the G option.
ok deraadt and co.
21 years ago
tedu
a63df3864b
abort on errors by default. workaround so running out of memory isn't
actually an error, A still applies full effect.
suggested by phk. ok deraadt@ tdeval@
21 years ago
jmc
a6a93c29bf
correct hash for EXAMPLES, plus some typos;
from er, Charlie Root (PR 3506)
21 years ago
tedu
60d06f403c
two minor fixes. set errno on recursive calls. ENOMEM suggested by marc@.
lock before setting malloc_func, not after.
ok cloder@ deraadt@
21 years ago
jmc
537eb1521b
updates and corrections to the references in SEE ALSO;
mostly from tjr@freebsd's rev. 1.14 commit.
21 years ago
tedu
df965b6a5c
full stop. reverse course. remove all periods, so as to be aligned
with error messages elsewhere. requested ok deraadt@ henning@
21 years ago
tedu
11a1131014
remove register. end all sentences with periods.
ok deraadt@ henning@ millert@
21 years ago
millert
2a6996bfa4
It is safe to pass free() a NULL pointer since C89; update example to
this effect. OK deraadt@ pvalchev@
21 years ago
deraadt
1d84434b97
improve example even more
21 years ago
millert
6724eaa976
Document the optional argument support and as well as where we differ from
POSIX and/or GNU. deraadt@ and jmc@ OK
21 years ago
millert
a8dc34ac1b
If permutation is disabled (as it is via getopt(3) or when POSIXLY_CORRECT
is set), we can accept an optional arg separated by whitespace. Previously,
the optional arg needed to be adjacent to the option character.
deraadt@ OK
21 years ago
tedu
637ad405c4
expand on the realloc no-no section to include adjusting a length before
the allocation. ok deraadt@ markus@
21 years ago
jmc
4662b6d15f
typos from wiz@netbsd (including one from a PR from Quentin Garnier);
slight sync with NetBSD page;
ok millert@
21 years ago
deraadt
d7d3323277
typo; ianm@cit.uws.edu.au
21 years ago
millert
70693691dd
Zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com>
Same as sys/crypto/sha2.c revision 1.2
21 years ago
jmc
3880dcdbcd
typos from Brian Poole;
ok deraadt@
21 years ago
tedu
55a03b3cd7
standards compliant strxfrm. much simpler too. fixes sorting in glib2.
ok deraadt@ espie@ marcm@
21 years ago
jmc
5d9d9c2154
escape punctuation;
ok deraadt@
21 years ago
markus
54122b6b38
fix use-after-free for expired passwds; ok deraadt, tdeval
21 years ago
jmc
e054129cac
wording improvement from Michael Knudsen;
21 years ago
tedu
682d8b9005
just use sysctl for stirring. thread safe and can't fail.
ok deraadt and co.
21 years ago
deraadt
dd0c426c1c
Split crypto routine sup again, but differently. This should make the
mail floppy parts a fair bit smaller.
21 years ago
deraadt
41645c48e4
unsplice crypt.c and morecrypt.c; start to document some bcrypt and md5crypt
things in crypt.3, and create MLINKS
21 years ago
deraadt
10823bcb7d
ansi
21 years ago
jfb
24eab29db5
ansify function arguments
ok tdeval@
21 years ago