Commit Graph

9864 Commits

Author SHA1 Message Date
perry
7bcd7064be de-__P 2005-02-04 16:14:21 +00:00
perry
8e902846e9 remove a spurious space in a function declaration 2005-02-04 16:13:14 +00:00
perry
9f5c37981e de-__P, slightly KNF, and make a bit of the formatting more consistent. 2005-02-04 16:12:13 +00:00
perry
e738b65d24 de-__P, ANSIfy function declarations 2005-02-04 15:52:08 +00:00
perry
d806a865f6 de-__P 2005-02-04 15:27:44 +00:00
he
dcdc758deb Introduce a few more temporary variables, in order to avoid an ugly
double cast in the pam_get_item() invocations.  The double cast
triggered a "discards qualifier" warning/error from gcc 2.95.3, while
trying to fix that by adding "cost" to the "void *" cast produced
a similar warning from gcc 3.3.  This now compiles without warning
with both compilers.

Approved by christos
2005-02-04 15:11:35 +00:00
dsl
3fd6225eec Pull optimised code from memcpy.S
Maybe bcopy can be killed one day...
2005-02-03 22:35:11 +00:00
dsl
2c19ca7c2b Bring code in from obsolesent bcopy.S
Optimise to avoid mis-predicted braches and 'rep movsb' for small %cx.
2005-02-03 22:31:44 +00:00
dsl
781e1351cd A faster implementation.
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
2005-02-03 22:05:01 +00:00
christos
cca9405683 Add charles' mlock fixes, protected with PTHREAD_MLOCK_KLUDGE and enabled
by default, until we come up with a real fix.
2005-02-03 17:30:33 +00:00
wiz
303329913a We have 2005. 2005-02-02 14:34:25 +00:00
wiz
463db6dc4b Sort SEE ALSO, fix an xref, and s/FreeBSD/.Fx/. 2005-02-02 14:33:20 +00:00
christos
691a62246e Avoid passing in the actual pw field in gettime because it might not
be the type that we think it is. Fixes cross builds.
2005-02-01 23:47:38 +00:00
christos
1d6e3b563a Add a new option "authenticate" that requires the user to enter his own
password to login.
2005-02-01 22:55:11 +00:00
christos
44d1e6097a Re-write to use both utmp and utmpx properly. 2005-02-01 17:54:48 +00:00
drochner
d6e66e178c fix pasto from sigignore.3 2005-02-01 13:55:19 +00:00
daniel
760b46e0e9 Document PTHREAD_CONCURRENCY, ack by wiz@. 2005-02-01 11:38:27 +00:00
enami
22e3442eb2 - Modify realpath() not to alter process wide state current working
directory.  Strategy from FreeBSD.  Addess PR#28986.
- Make realpath() to return an error when null string is passed or
  the last component is symlink to null string.  The kernel lookup
  routine returns an error if such path are passed.
2005-01-30 22:37:32 +00:00
jwise
1161efa5da Comment back in cross-references to other man pages, was looking at a non-recent
DESTDIR.  Other half of last change was correct.

Pointed out by wizd.
2005-01-30 18:13:04 +00:00
jwise
449bc64125 <sys/types.h> must be included before <sys/uuid.h>.
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
wiz
910da6b63e Add "not" to a sentence so that it makes more sense. 2005-01-29 14:19:43 +00:00
wiz
b2d185782d Use In instead of Fd; use \*[Am]\*[Lt]\*[Gt] for html output. Uppercase FREENIX. 2005-01-28 11:04:52 +00:00
itojun
cc1dea55c3 title was backwards. djm@openbsd 2005-01-28 01:36:17 +00:00
wrstuden
e384a44e9d Extend fsync_range(2) to support the FDISKSYNC flag, which requests
that the sync be propogated out through the disk drive caches.
2005-01-25 23:55:20 +00:00
wiz
93f4ac130d Fix a double word, and improve mark up in FILES section. From jmc@openbsd. 2005-01-25 01:39:57 +00:00
manu
08ad2c449b Set correct default for the nologin file: /etc/nologin
Handle the ignorenologin capability
2005-01-23 09:45:02 +00:00
enami
b2ed183e5b - Remove macros used only by old getcwd() implementation.
- Fix memory leak on error. (I guess the loop isn't necessary but
  it is different matter).
- Remove knowledge about old malloc implementation.
2005-01-23 01:00:51 +00:00
briggs
a665897c6f Bring in sem_open (& sem_close & sem_unlink) man page from FreeBSD.
These functions are actually implemented, but the old man page said that
they simply returned with errors--it was apparently out of date at the
time of import.
2005-01-22 03:16:33 +00:00
christos
a10b4794fd change long -> unsigned long 2005-01-20 21:53:23 +00:00
christos
8817e95118 remove debugging printf. 2005-01-20 21:11:56 +00:00
kleink
774c973096 Note ENOATTR; from FreeBSD. 2005-01-20 13:23:57 +00:00
kleink
b2f3ea1a33 Add ENOATTR (and a missing comma); noted by Takehiko NOZAKI. 2005-01-20 13:14:09 +00:00
christos
b1c3c94911 Improve error messages. 2005-01-19 22:59:24 +00:00
christos
b51e7f1581 - fix initialization of dowarn [use before set, thanks luke]
- always initialize flags so that we don't have to check for it.
- use the consistent variable names in functions.
2005-01-19 22:40:37 +00:00
christos
a31e08fdfc - test for too long username (from Greg Woods)
- centralize id and time_t parsing, providing better error checking of
  numeric values; previously the code would accept 12foo as an expiration
  or change time.
- fix issue with dereferencing null flags in compat code.
- ansify, KNF
2005-01-19 19:13:38 +00:00
mycroft
ebfdf0c012 If TIOCPTMGET fails, close /dev/ptm. 2005-01-19 01:54:09 +00:00
mycroft
e638979d5c Use FD_CLOEXEC. 2005-01-19 00:59:48 +00:00
mycroft
ffa0d5e7ac Also set FD_CLOEXEC in the union re-open case. 2005-01-19 00:53:33 +00:00
mycroft
ffcb3c5a45 Use FD_CLOEXEC. 2005-01-19 00:52:37 +00:00
mycroft
b7e6351cc4 hash already uses FD_CLOEXEC -- pay attention to the return value and make it
a hard failure.

Also make btree and recno uses FD_CLOEXEC.
2005-01-19 00:23:44 +00:00
lukem
58804647b6 Reference RFC1738 instead of RFC1808 for '%xx' encoding. 2005-01-15 21:02:51 +00:00
christos
163d05f57d PR/28792: FUKAUMI Naoki: passwd: Couldn't generate salt: Invalid argument
I broke the case where /etc/passwd.conf was empty.
2005-01-15 03:07:56 +00:00
dyoung
4d24861fc9 For consistency of sockaddr_snprintf(3) with snprintf(3) and
snprintb(3), do not count the terminating NUL in the return value.
Update the regression tests to match.  Approved by christos@.
2005-01-13 00:44:25 +00:00
wiz
379e07e3ac Use \*[Am] and \*[Gt], like before the previous revision; use .In; minor other changes. 2005-01-12 14:44:11 +00:00
wiz
c3005f5671 Use .In for including header files, remove some unnecessary quotes. 2005-01-12 14:35:55 +00:00
christos
d1ac9947b2 fix compile issue. 2005-01-12 05:27:48 +00:00
christos
d205f30a4b fix compile issue and de-lint 2005-01-12 05:27:35 +00:00
christos
c9cb0c3bbd adapt to pw_gensalt() change. 2005-01-12 03:36:12 +00:00
christos
4c3e77eff3 add pw_getpwconf(), bump. 2005-01-12 03:34:33 +00:00
christos
3131ddcccc - change the gensalt functions to take an optional string instead of
the number of rounds.
- make pw_gensalt() more generic, so that it does not depend in libutil.
2005-01-12 03:32:52 +00:00