Commit Graph

5445 Commits

Author SHA1 Message Date
green
3071a83e96 Fix pam_ssh by adding an IPv4or6 (evidently, this was broken by my last
OpenSSH import) declaration and strdup(3)ing a value which is later
free(3)d, rather than letting the system try to free it invalidly.
2001-11-29 21:16:11 +00:00
ache
cba24b2404 Clarify that is[x]digit() class is the same in any locale 2001-11-29 15:23:46 +00:00
cjc
e377442703 Duh. Back out most of my previous commit. It was mostly covered in the
STANDARDS section of the page. Add one remark there about inet_pton(3)
only understanding decimal values (in contrast to inet_aton(3) and
friends who are happy with 0ac.020.25 for 172.16.0.25).

Caught by:	ru
MFC after:	2 days
2001-11-29 09:44:33 +00:00
green
382410f320 Bump p1003.1-90 to p1003.1-96. 2001-11-29 03:21:16 +00:00
gshapiro
aec2ef457d rename() can't guarantee "to" always exists if it didn't exist in the first
place -- for example, rename("existing", "newfile"); on a read-only file
system.

Reviewed by:	green
MFC after:	3 days
2001-11-29 03:17:12 +00:00
ache
c094ec230e Back out national digits support, POSIX explicetely disallows it:
The definition of character class digit requires that only ten characters
-the ones defining digits- can be specified; alternate digits (for
example, Hindi or Kanji) cannot be specified here. However, the encoding
may vary if an implementation supports more than one encoding.

The definition of character class xdigit requires that the characters
included in character class digit are included here also and allows for
different symbols for the hexadecimal digits 10 through 15.
2001-11-29 03:03:55 +00:00
cjc
c19967e295 After the long explanaition of how the inet_* functions interpret
Internet addresses, point out that inet_pton(3) only understands
dotted quads with decimal values.

MFC after:	2 days
2001-11-29 00:56:45 +00:00
tobez
2248c136cc Do not write warning messages on stderr - a caller is expected to check
the return code and errno instead.  Those warnings did not do any good
for daemonized users of initgroups(3), and confused cvs clients that
communicated with non-root cvs pserver.

The committed fix differs from the one suggested in the PR, and was
submitted by ru.

PR:		15421
Approved by:	markm
Discussed on:	-stable, -current at various times
2001-11-28 10:55:02 +00:00
des
5a548df560 Mdoc police.
Submitted by:	ru
2001-11-28 10:07:21 +00:00
ru
42b4032bae mdoc(7) police: fix one pam_unix(8) left-over, sort xrefs. 2001-11-28 09:25:03 +00:00
ache
c99a486821 Don't ever assume that isdigit() is always subset of isxdigit() 2001-11-28 06:06:27 +00:00
ache
7a56c3bea9 Fix typo 2001-11-28 05:43:24 +00:00
ache
1311c5a9d4 Use stricter tests to disallow national digits > 9
Optimize national digits code a bit
2001-11-28 05:39:21 +00:00
ache
0c44154f30 Allow national (non-ASCII) digits 2001-11-28 04:57:48 +00:00
ache
b4cf167bff Allow national (non-ASCII) digits 2001-11-28 03:57:12 +00:00
fenner
42684c0f59 Implement strtoimax() and strtoumax() 2001-11-28 03:37:06 +00:00
fenner
f27de8fc75 Also mention "long long" in synopsis. 2001-11-28 03:36:05 +00:00
jwd
7f709d60cc Return a more meaningful errno when the length of the interpreter
exceeds MAXSHELLCMDLEN to avoid secondary /bin/sh execution.

Update execve man page to reflect change.

Increase MAXSHELLCMDLEN to a slightly more meaningful value.

PR:		kern/32106
Submitted by:	b@etek.chalmers.se
Reviewed by:	bsd
MFC after:	2 weeks
2001-11-28 03:26:58 +00:00
fenner
e5ec844507 Base 36 is allowed. 2001-11-28 02:35:35 +00:00
ache
9ccfe71e19 Put back base > 35 check. If someone dislike it, plese discuss it with
standards group first.
2001-11-28 02:17:22 +00:00
ache
9b5a9af5ae Add atoll(3) to conform POSIX and C99 2001-11-28 01:22:08 +00:00
ache
9c60c1cd72 Understand national (non-ASCII) digits now
Allow bases >=36 again
Misc cleanup
2001-11-28 00:48:11 +00:00
jhb
27c49f1fe7 Use 'mov' instead of 'lea' for setting the syscall number in %eax as that
is clearer about what we are actually doing.

Requested by:	bde
2001-11-27 20:51:26 +00:00
des
34f0110e1a Add a pam_set_item(3) man page with an MLINK to pam_get_item(3).
PR:		docs/32294
Sponsored by:	DARPA, NAI Labs
MFC after:	3 days
2001-11-27 15:36:35 +00:00
ru
b9afc27cdd When servicing an internal FTP server, punch ipfirewall(4) holes
for passive mode data connections (PASV/EPSV -> 227/229).  Well,
the actual punching happens a bit later, when the aliasing link
becomes fully specified.

Prodded by:	Danny Carroll <dannycarroll@hotmail.com>
MFC after:	1 week
2001-11-27 10:50:23 +00:00
wes
35f4cc7bf3 Must link strerror manpage to strerror_r.
Thanks for the review, Mike.

Submitted by:	Mike Barcroft <mike@FreeBSD.org>
2001-11-27 07:57:31 +00:00
wes
5bd0673322 Add strerror_r function per Posix prototype.
Reviewed by:	Mike Barcroft <mike@FreeBSD.org>
MFC after:	2 weeks
2001-11-27 07:39:46 +00:00
des
657bc7302c Create a pam_ssh(8) man page, based on a repo-copy of pam_unix(8).
License modified with original author's permission.

Sponsored by:	DARPA, NAI Labs
2001-11-27 00:57:50 +00:00
des
c2833252e8 Document the local_pass and nis_pass options, add a few xrefs, and reorder
the SEE ALSO section.  License modified with original author's permission.

Sponsored by:	DARPA, NAI Labs
2001-11-27 00:53:10 +00:00
dd
6a521adec4 Spelling police: sucessful -> successful. 2001-11-24 23:41:32 +00:00
ru
08741fd9e4 s/processes/files/ inherited from kvm_getprocs(3).
PR:		docs/32252
Submitted by:	tobez
2001-11-24 15:38:28 +00:00
keramida
2043ec9c75 Be more explicit about the fact that realloc() might return a
different pointer than the one passed to it.

PR:		docs/31925
Submitted by:	Andrew <andrew@ugh.net.au>
2001-11-24 03:05:40 +00:00
ru
c603cc2410 mdoc(7) police: markup cleanup. 2001-11-22 11:17:58 +00:00
ru
51297aa316 mdoc(7) police: add missing comma. 2001-11-22 09:48:54 +00:00
fjoe
ae79066ef7 fix compilation (include -> #include) 2001-11-21 20:40:21 +00:00
ru
a94abd592c mdoc(7) police: fixed typos and minor markup nits. 2001-11-21 16:19:50 +00:00
ru
93770053a4 mdoc(7) police: markup nit in the actual rev. 1.13 changes. 2001-11-21 15:56:45 +00:00
ru
794ef0e3c5 mdoc(7) police: restore all FreeBSD fixes to this file that got
clobbered by previous commit.
2001-11-21 15:50:57 +00:00
ru
6c3b33cefd mdoc(7) police: general cleanup. 2001-11-21 15:41:49 +00:00
green
0ef556819d Should also include namespace.h
Submitted by:	ru
2001-11-21 15:33:40 +00:00
green
fe1ad601f9 Change certain syscalls from x to _x.
Prodded by:	bde
2001-11-21 14:44:52 +00:00
ru
1ce1f01831 Grammar nit. 2001-11-21 09:25:14 +00:00
ru
ec2f37f6bd mdoc(7) police: fixed bugs from rev. 1.15. 2001-11-20 16:40:04 +00:00
green
c28198f6aa Introduce readpassphrase(3), a superset of getpass(3). This
comes originally from Todd Miller.

Obtained from:	OpenBSD
2001-11-20 15:15:42 +00:00
ru
1a463f2a13 mdoc(7) police: minor markup and spelling fixes. 2001-11-20 14:11:07 +00:00
ru
aecd959b16 mdoc(7) police: sort xrefs. 2001-11-20 13:58:21 +00:00
ru
ab6a8feaa5 mdoc(7) police: consistently use the .Ux macro. 2001-11-20 13:54:11 +00:00
ru
8a80c57659 mdoc(7) police: remove whitespace at EOL. 2001-11-20 13:43:58 +00:00
jhb
5bacc80a9d Include sys/param.h instead of sys/types.h to get the definition of the
MIN() macro.

Pointy hat to:	rwatson
2001-11-20 08:26:37 +00:00
rwatson
5ec96eeb80 o Cleanup of includes: user.h may be a catch-all, but that's not
entirely desirable.  Back out previous commit, and clean up includes
  to be more minimal.

Submitted by:	bde
2001-11-19 21:14:50 +00:00