manu
be15b99c92
Define SADB_X_EALG_AESCBC=SADB_X_EALG_AES, as we define SADB_X_EALG_AES
...
in <net/pfkeyv2.h> while ipsec-tools uses SADB_X_EALG_AESCBC in the code.
2005-02-24 13:45:08 +00:00
manu
da4d1abb40
bump ipsec-tools package version
2005-02-23 15:27:09 +00:00
he
738be40c8f
Make conversions from unsigned long to int explicit via casts,
...
rather than imiplicit, which causes lint heart burn ("conversion
from 'unsigned long' to 'int' may lose accuracy).
2005-02-20 23:59:31 +00:00
wiz
9086769d81
Fix Xref.
2005-02-20 19:39:09 +00:00
wiz
1d07a19af1
<> -> \*[Lt]\*[Gt].
2005-02-20 19:38:01 +00:00
wiz
b57f6d2615
Sort SEE ALSO.
2005-02-20 19:37:30 +00:00
christos
03b16f4fe5
Put back exit on warning for lint.
2005-02-20 17:06:33 +00:00
christos
595789382e
Fix lint on 64 bit machines.
2005-02-20 17:06:16 +00:00
martin
bf9e950197
This needs work to pass lint - whic I'm not going to invest.
...
Make lint not treat warnings as errors.
2005-02-20 16:20:36 +00:00
wiz
fb1b5900a0
Remove duplicate .Pp. XXX: References non-existing rad_config(3).
2005-02-20 01:02:07 +00:00
manu
00b13c7897
Build libradius, imported from FreeBSD
2005-02-20 00:52:02 +00:00
christos
6683368b82
Add pam_radius.
2005-02-20 00:37:49 +00:00
christos
ccb28c34b3
Get rid of liblibradius; hi manu.
2005-02-20 00:36:47 +00:00
christos
23d6637ce7
Oops, include dir.
2005-02-20 00:32:18 +00:00
christos
28074938ee
Add include files.
2005-02-20 00:31:01 +00:00
christos
476ca6e1f0
Pass lint and WARNS=3
2005-02-20 00:28:20 +00:00
manu
8809553739
Import FreeBSD's libradius as of 2005/02/20, plus minor tweaks to build
...
o nNetBSD and a Makefile for NetBSD.
2005-02-19 23:56:30 +00:00
christos
a6d2304b90
constify, whitespace.
2005-02-19 22:55:35 +00:00
christos
9485d63b3e
Fix whitespace.
2005-02-19 22:47:51 +00:00
christos
c8127943d0
Fix pk to use BN_ instead of libmp.
2005-02-19 22:47:10 +00:00
thorpej
05597c360c
Enable building the lint library.
2005-02-19 22:03:49 +00:00
christos
185393efaa
PAM support from FreeBSD.
2005-02-19 21:55:52 +00:00
thorpej
01db58f7e8
Bump shlib version to 2.1 as was intended with ipsec-tools integration.
2005-02-19 21:44:35 +00:00
tsutsui
1b4b48e1ea
Add (missed) fabs.c to SRCS.
2005-02-19 18:18:53 +00:00
thorpej
c5aea678b7
Additional cleanup pass.
2005-02-19 16:58:26 +00:00
thorpej
354f2a1004
Switch to ipsec-tools for libipsec, setkey, and racoon. From
...
Emmanuel Dreyfus, with some small changes by me.
2005-02-19 16:55:02 +00:00
dsl
67b39d4957
Change first arg of __hash_more to const void * to remove need for double casts
2005-02-18 22:16:27 +00:00
christos
1a940a96f9
remove extraneous `*' that caused a core-dump.
2005-02-17 21:22:25 +00:00
christos
3f899b0a98
do some manual CSE.
2005-02-17 19:58:21 +00:00
tron
f82977b51c
Fix lint warning caused by last change.
2005-02-17 19:15:38 +00:00
enami
aa6d8c7778
Jump to just before the copy instead of after it. Saves 8 byte on i386.
2005-02-17 04:30:23 +00:00
enami
d02f179fc6
Simplify, KNF and plug leaks. Compile test only.
2005-02-17 04:16:09 +00:00
briggs
a6246199bb
Supply _kvm_kvatop() and _kvm_pa2off() for OEA-type CPUs. This does
...
not yet support other PPC CPU types.
Contributed by Wasabi Systems Inc.
2005-02-17 02:31:27 +00:00
christos
81a2ba5600
Simplify and KNF. Instead of keeping track if the pointer was allocated,
...
keep a copy of the pointer itself and only re-use it if the current
environment is equal to the saved pointer. Idea from OpenBSD. Avoids
problem of re-allocing a non-allocated pointer if a program resets the
environment after it has been grown.
2005-02-17 02:17:43 +00:00
christos
4a16e53162
Remove HAVE_LOGIN_CAP it is not used.
...
Remove radix.c and kerberos glue; we'll put it in the programs themselves.
from Love.
2005-02-13 22:42:24 +00:00
christos
9233e29e04
Update for OpenSSH-3.9; bump major.
2005-02-13 06:06:48 +00:00
simonb
3cebd9325e
White space nit- don't put a space before/after increment/decrement
...
operators.
2005-02-11 06:21:21 +00:00
christos
b35aef8d4b
Default back pthread__concurrency to 1 until we fix the regression test
...
related to pthread_kill().
2005-02-10 23:42:37 +00:00
tnozaki
7aab8c378d
considering huge character set(ucs, gb18030),
...
use not linear but binary search.
this change derrived from recent FreeBSD's rune.
2005-02-10 19:19:57 +00:00
tnozaki
476f0d92a1
fix typo in _DIAGASSERT
2005-02-10 19:03:51 +00:00
christos
3a610280bb
If $PTHREAD_CONCURRENCY is not set, set it to ncpu
2005-02-10 02:20:49 +00:00
kleink
fd5cb0acea
A little libc namespace housekeeping exercise:
...
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
kleink
23cad56e0c
Use strtoimax(), incidentally removing the only libc-internal use of
...
strtoq().
2005-02-09 19:32:36 +00:00
christos
e816a03a29
Bring back the head versions. Apparently the problem is a pkgsrc issue
...
unrelated to strings.
2005-02-09 18:15:16 +00:00
drochner
f2a3f79f1c
work around a prototype conflict by including ioctl.h
...
before we redefile ioctl()
2005-02-09 18:02:53 +00:00
kleink
4d58969864
Declare rs_initialized static.
2005-02-09 12:09:08 +00:00
christos
122f93c73b
Revert everything to 2005-02-03 until the code is properly tested. Building
...
kde3 breaks with the head code.
2005-02-07 05:22:51 +00:00
christos
dbbaa0dafa
PR/29248: Geoff C. Wing: memchr broken after latest commit.
...
Apply fix submitted by jtc: The problem was that his regression tests
never checked for characters with the high bit set. Change movl to movzbl
where it was not done yet. In addition strrchr.S missed a jump to Lzero.
2005-02-06 18:36:32 +00:00
agc
f255b51ddc
Another fall-out from the de-__Ping round.
2005-02-06 18:00:30 +00:00
perry
4fcf86857c
de-__P (really de-P)
2005-02-06 05:53:07 +00:00
perry
0f3d05ee54
remove unneeded definition of "P" macro
2005-02-06 05:52:25 +00:00
perry
252786f3ee
de-__P (really de-P), and fix the broken prototype for printsub
2005-02-06 05:48:23 +00:00
yamt
97bb1b498d
revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
...
as gzio.c counterpart has been reverted.
2005-02-05 16:37:03 +00:00
drochner
dfc9e068c7
switch to J.T.Conklin's optimized str* functions
...
(submitted per PR i386/25263)
2005-02-04 18:12:52 +00:00
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
christos
1a791fa81d
eliminate the third copy of pwd_gensalt.
2005-01-11 23:23:33 +00:00
christos
6252af1a9f
sprinkle ARGSUSED and include "crypt.h"
2005-01-11 23:21:31 +00:00
christos
b181dae89f
only get the rounds if we have them.
2005-01-11 23:02:30 +00:00
christos
7724b89cd5
add local prototype for old salt function
2005-01-11 23:02:16 +00:00
christos
8cfd209e8e
Add pw_gensalt, which was taken from pwd_gensalt. This now is used in 3
...
places, so it might as well be part of libcrypt.
2005-01-11 22:41:07 +00:00
christos
21356b2c66
use the standard __UNCONST
2005-01-11 22:40:22 +00:00
christos
0fc4f2b291
- remove local UNCONST
...
- add new __gensalt functions
2005-01-11 22:40:00 +00:00
christos
2c53ed1484
Write __gensalt_blowfish function that does not use static storage and
...
can return an error. Make the old bcrypt_gensalt() function use that.
XXX: should gc bcrypt_gensalt(). What uses it?
2005-01-11 22:39:21 +00:00
itojun
f6b6f2cd66
written-from-scratch manpage (fixes ISOC copyright violation)
2005-01-11 07:26:57 +00:00
itojun
2537b08b16
replace with written-from-scratch manpage. (fixes ISOC copyright issue)
2005-01-11 06:01:41 +00:00
lukem
1e281ed227
Only #define HAVE_IPV6 if ${USE_INET6} != "no".
2005-01-10 03:11:17 +00:00
lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
lukem
9505ced464
minor whitespace consistency
2005-01-10 02:32:46 +00:00
he
67d66c86bb
Don't build libpam and associated bits if the target platform doesn't
...
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no. Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.
Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
christos
8ef68a6575
document PT_DUMPCORE.
2005-01-09 17:41:19 +00:00
dyoung
81e590905d
Bump minor version for libpcap 0.8.3 import.
...
Thanks Julian Coleman for pointing out my oversight.
2005-01-09 11:57:34 +00:00
christos
b725a0a1fa
add a cast and remove another.
2005-01-09 05:04:02 +00:00
nathanw
efffd0e96a
pthread_rwlock_timedrdlock() and pthread_rwlock_timedwrlock():
...
After exiting the try-again loop, make one more test of the lock
conditions, in case it was released while a signal handler kept the
thread busy past the alarm expiration.
2005-01-09 01:57:38 +00:00
nathanw
6a562a3a84
pthread_rwlock_timedrdlock() and pthread_rwlock_timedwrlock():
...
Expand the test for valid values of abs_timeout to check for negative
values of tv_sec and tv_nsec.
2005-01-09 01:47:20 +00:00
manu
d26d1599e6
Missing man page: login.access(5)
2005-01-08 22:56:21 +00:00
lukem
b91c938d5f
delint -UINET6
2005-01-08 22:48:42 +00:00
lukem
6463b925a7
Build librpcsvc as a shared library, since pam_unix.so needs it.
2005-01-08 10:02:36 +00:00
christos
a72527f7ce
add -DDEBUG to the build for now
2005-01-08 08:39:48 +00:00
christos
ca7489bf5c
Avoid spinning if writing to a pty returns 0. This happened to me when
...
I had a pty with a suspended sshd (why?).
2005-01-08 06:43:16 +00:00
mycroft
f38bfebb8e
Throw in mutex stubs to serialize access to the legacy global structures.
2005-01-07 22:22:49 +00:00
simonb
f2cd0bb8b0
Remove the old userland version of getcwd(): it's been #ifdef'd out
...
since 1999 when we switched to a (faster) system call based getcwd(),
and as shown recently has had some buffer size problems anyway (although
they have since been fixed).
2005-01-06 23:43:32 +00:00
jmmv
3b31a140fa
Fix a typo and add a missing blank line.
2005-01-06 20:31:12 +00:00
mycroft
6951dd53b1
Fix a pasto.
2005-01-06 17:42:31 +00:00
mycroft
077972bfb2
Replace the even-odd test for incrementing unblockgen with a simple
...
blockgen!=unblockgen. I'm not sure this is 100% correct, but it partly
alleviates a problem with multiple unblocks for the same thread getting
stacked up.
2005-01-06 17:40:22 +00:00
mycroft
75a9478818
Add some additional assertions and debugging printf()s.
2005-01-06 17:38:29 +00:00
mycroft
e890aef258
Use TIMER_RELTIME rather than the constant 0 in one place.
2005-01-06 17:34:52 +00:00
mycroft
8fa85b4a65
gettimeofday();TIMEVAL_TO_TIMESPEC(); is exactly equivalent to
...
clock_gettime(CLOCK_REALTIME), except the latter may have more preicison
some day. So, use that.
2005-01-06 17:33:36 +00:00
ginsbach
9d30c15dda
Add EPERM to fchmod() failure list.
2005-01-06 16:30:52 +00:00
lukem
b351350a6f
document getgroupmembership(3)
2005-01-06 15:29:35 +00:00
lukem
a3665ef9cf
Implement getgroupmembership(3). This is similar to getgrouplist(3), except
...
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).
Proposed on tech-userlevel on December 1, 2004.
2005-01-06 15:10:45 +00:00
lukem
337d8d731d
Rename various "internal" variables and functions and make non-static so other
...
internal libc source files can use these (including getgroupmembership(3)).
Be more consistent in the API that the __grscan_<source>() methods use.
In __grscan_compat() support an optional custom 'search' function used when a
"+" lookup is required. Normally this will be getgrent() from group_compat,
but getgroupmembership(3) will use a tailored compat search routine for
efficiency.
2005-01-06 15:00:45 +00:00
christos
59f1050586
Fix handling of memory allocation. From OpenBSD.
2005-01-06 00:07:41 +00:00
bouyer
2acdd6193e
Translate messages 86 -> 93. Thanks to Marc Baudoin for review.
2005-01-03 22:00:37 +00:00
salo
f1b6ac43ff
Add ENOATTR translation.
2005-01-03 19:52:35 +00:00
peter
4e256ea1c5
Translate errors 80 to 93 in set 1. Fix typo's and improve some messages.
...
Reviewed by daniel.
2005-01-03 15:21:48 +00:00
lukem
27313362b5
Build & install pam_ssh.so.0 now that libssh is available for use.
2005-01-03 06:15:42 +00:00
lukem
157353df26
Set NOxxx before including <bsd.own.mk>; we can't rely upon ../mod.mk
...
in this situation.
2005-01-03 06:15:02 +00:00
lukem
98a04f5390
Implement libssh as a public library, as pam_ssh needs it.
2005-01-03 06:00:12 +00:00
lukem
474dd6daf5
s/ifndef/ifdef/ for __FreeBSD__
2005-01-03 03:08:40 +00:00
jmmv
8f037de0f8
Remove a trailing dot to match all other items in the same list.
2005-01-02 19:39:43 +00:00
jmmv
0d9171e5fe
Add ETIME and ENOATTR translations.
2005-01-02 19:38:49 +00:00