Commit Graph

7117 Commits

Author SHA1 Message Date
charnier
d04b950e72 The .Fn function 2003-02-06 11:25:03 +00:00
charnier
774a008e08 The .Fn function 2003-02-06 11:10:32 +00:00
charnier
09aaa9e635 The .Fn function 2003-02-06 11:04:47 +00:00
des
de51c5b133 Minimal manual page for pam_kerberosIV(8).
Sponsored by:	DARPA, NAI Labs
2003-02-06 10:55:11 +00:00
mtm
08478c5a34 Fix use of an uninitialized pointer introduced in a previous revision.
Approved by:	markm (mentor)(implicit)
2003-02-06 01:08:19 +00:00
ache
1aab8e2503 Since we drop NSHUFF values now, set default seed to what it becomes
after srand(1)
2003-02-05 21:25:50 +00:00
charnier
cfcc16610e Prevent uppercase after .Xr by adding ``The ... utility/system call''. 2003-02-05 13:36:13 +00:00
tjr
525b9dd716 Mention that the CLOCK_VIRTUAL and CLOCK_PROF clocks are not implemented.
PR:		8376
2003-02-05 09:17:32 +00:00
jhb
95e750632e - Remove unused old disk pointers from Write_FreeBSD() and Fill_Disklabel()
functions.
- Clean up a few signed/unsigned warnings.
2003-02-04 17:35:23 +00:00
jhb
1094a736ea Remove mostly unused disk arguments from Fixup_*_Names() functions. 2003-02-04 17:26:45 +00:00
mikeh
9e0de547e8 Grammer fix. 2003-02-04 16:28:04 +00:00
ache
6e33810c75 For rand(3) and random(3) TYPE_0 drop NSHUFF values right after srand{om}()
to remove part of seed -> 1st value correlation. Correlation still remains
because of algorithm limits. Note that old algorithm have even stronger
correlation, especially in the lower bits area, but not eye-visible, as
current one.
2003-02-04 11:24:08 +00:00
ache
2298f1b0fb Park & Miller PRNG can be safely initialized with any value but 0 and stuck
at 0 as designed. Its BSD adaptation tries to fight it by mapping 0 to
2147483647 after calculation, but this method not works since 2147483647
seed returns to 0 again on the next interation. Instead of after calculation
mapping, map 0 to another value _before_ calculation, so it never stucks.
2003-02-03 10:22:12 +00:00
phantom
2c5bce8343 Document additional behaviour of this function (see
rev 1.3 of uthread_attr_get_np.c)
2003-02-03 10:10:40 +00:00
phantom
52b39c3830 Improve pthread_attr_get_np() by enabling it to return thread's real stack
address instead of specified by pthread_attr_t passed to pthread_create().

Suggested by:	deischen
2003-02-03 10:08:45 +00:00
des
10583bea9b In pam_sm_acct_mgmt(), retrieve the cached credentials before trying to
initialize the context.  This way, a failure to initialize the context is
not fatal unless we actually have work to do - because if we don't, we
return PAM_SUCCESS without even trying to initialize the context.
2003-02-03 09:45:41 +00:00
des
d999ca43a2 Whitespace cleanup 2003-02-03 09:43:28 +00:00
des
a0f7d5fbbd OpenPAMify. 2003-02-02 18:43:58 +00:00
ache
45971fd80f For some combinations of variable sizes and RAND_MAX value rand_r()
may store less amount bits for seed, than available. Fix it.
2003-02-02 14:27:51 +00:00
markm
ae91bda061 No need for the OPENSSL_NO_KRB5 switch anymore.
Fixed by:	nectar
2003-01-31 23:26:55 +00:00
rwatson
32f4d64834 Document a bug in our chroot(2) implementation: if access control
checks, including the "open directory" check or a MAC check fail,
after the working directory of the process has been changed, then
the cwd of the process will be left as the target directory rather
than the original directory.

At some point, this bug might be fixable by performing the directory
change only after permission is granted for the change.  In the
mean time document it (it's been there for a while).
2003-01-31 21:19:22 +00:00
tjr
b440f89110 Zap another reference to !RFPROC being unsupported that I missed before. 2003-01-31 08:59:00 +00:00
tjr
60fd9b5548 Don't use -compact in list of available flags. Fix tag width. 2003-01-31 08:55:42 +00:00
tjr
98b118ea33 !RFPROC has been supported for a while now. 2003-01-31 08:45:11 +00:00
tjr
29d57f6c5c Back out previous. Many people disagreed with removing the warning. 2003-01-30 23:32:53 +00:00
trhodes
94b83d0789 Add getosreldate.3 to the Makefile. 2003-01-30 21:38:39 +00:00
trhodes
e09b79ef17 Add a manual page for getosreldate.c.
PR:		46365
Submitted by:	gioria (original version)
OK'ed by:	alfred (older version)
2003-01-30 21:37:06 +00:00
phk
1ac941bb25 Catch some cases where asking for ridiculously large allocations could
result in a segfault.  Instead just return NULL.
2003-01-30 15:00:17 +00:00
tjr
32e70799d3 Remove runtime warning about gets(). 2003-01-30 12:00:26 +00:00
tjr
726e741803 Lock stdin on entry, unlock on return, use __sgetc() instead of getchar()
to avoid locking the stream for each character and to avoid input being
scattered among multiple threads.
2003-01-30 11:46:25 +00:00
jmallett
bdf4a5a95c WARNS ?= 2, so idiocy like 1.12 of type.c doesn't have to happen again. 2003-01-30 00:11:01 +00:00
jmallett
ecd22c5434 Missing "return 0"
Big pointy hat to:	jmallett
Spotted by:		peter
2003-01-30 00:10:24 +00:00
jmallett
53a32ad42e API for opening (and tracking) writable file descriptors per disk. 2003-01-29 23:19:46 +00:00
nectar
cf37b7b5bf Do not return inappropriate error codes in pam_sm_setcred. 2003-01-29 21:20:38 +00:00
markm
20193a2f81 Adjust for OpenSSL 0.9.7. 2003-01-28 23:03:15 +00:00
des
0f18f206f5 style(9): add parentheses to sizeof even when not strictly required.
MFC after:	3 days
2003-01-28 08:04:40 +00:00
jwd
ad6472e9bc Fix signed/unsigned comparison warning/error from 'make release' 2003-01-28 00:33:53 +00:00
mbr
5500fdf3a1 Fix signed/unsigned comparison warnings.
Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:46:50 +00:00
mbr
fd23463ecd Fix signed/unsigned comparison warnings. Fix spelling error in
comment.

NetBSD Rev. 1.9 and 1.7

Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:45:08 +00:00
mbr
67e11c4c14 Make this work in the !INET6 case -- if we mismatch the AF, don't return a
bogus (uninitialized) structure. Also, ignore v4 ifa's with no broadcast
address (rather than core dumping).

NetBSD Rev 1.8

Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:43:23 +00:00
mbr
4bd06e75e8 Check pmap_flag before sendto.
NetBSD r 1.5

Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:38:25 +00:00
mbr
399a108efb Make sure we don't look before the beginning of the string.
NetBSD Rev 1.5

Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:36:53 +00:00
mbr
7d88911aad Add missing __rpc_fixup_addr. This is needed to make
mount_nfs -T work for scoped addresses.

NetBSD Rev 1.11

Reviewed by:	phk
Obtained from:	NetBSD
2003-01-27 22:27:55 +00:00
mbr
b894b3adc9 Free the correct buffer in error handling.
Handle that malloc may return NULL.

NetBSD Rev. 1.8

Reviewed by:		phk
Obtained from:		NetBSD
2003-01-27 22:22:59 +00:00
mbr
522c5d233e Reset the record lenght and received bytes once a record
is finished. This fixes clients doing two RPCs over the
same connection at the same time. Without this fix, we
could end with a reply to old data.

Submitted by:	Frank van der Linden <fvdl@netbsd.org>
Reviewed by:	rwatson
Obtained from:	NetBSD
2003-01-27 22:19:32 +00:00
ache
9fbfbfa209 Now return NULLified struct in case of empty config file
(previous variant return NULL pointer for both empty file case and error case,
so caller can't sense error properly).

It not affect existen programs because property_find() now returns NULL
for both NULL pointer and NULLified struct.
2003-01-27 03:39:33 +00:00
ache
526b063062 Handle read errors 2003-01-27 03:14:04 +00:00
jmallett
e9726334b0 If we don't know where the sblock is (e.g. filling out a blank disk), then
get it from the fs structure.  Really libufs should have interfaces to generate
both what we export, and what we import, based on eachother, and this should
be full of redundant code to make sure everything is right...  But really, we
don't even deal with checksums, so plenty of room to improve.
2003-01-27 01:57:15 +00:00
markm
48d6f0c478 Very minor EOL whitespace diff-reducer. 2003-01-26 23:34:47 +00:00
markm
7f51c29dc6 Missed a bit of cleanup. 2003-01-26 23:29:22 +00:00