Commit Graph

4703 Commits

Author SHA1 Message Date
deischen
c6f06e4f28 Move the check for a pending signals to after the thread has been
placed in any scheduling queue(s).  The process of dispatching
signals to a thread can change its state which will attempt to add
or remove the thread from any scheduling queue to which it belongs.
This can break some assertions if the thread isn't in the queue(s)
implied by its state.

When adding dispatching a pending signal to a thread, be sure to
remove the signal from the threads set of pending signals.

PR:		27035
Tested by:	brian
MFC in:		1 week
2001-05-04 20:37:07 +00:00
green
5b85c0e3b3 I've been meaning to take pam_ssh out of the base system for a while now.
Finally do it.
2001-05-04 03:53:48 +00:00
phantom
9490c25e16 add nl_langinfo(3) 2001-05-03 15:12:52 +00:00
phantom
7462a1818c Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-current
anymore.
2001-05-03 15:05:16 +00:00
phantom
802b9bcc78 add manpage for nl_langinfo(3)
Reviewed by:	ru
2001-05-03 15:02:50 +00:00
dwmalone
617c2aa875 Avoid dividing by zero if kd->procbase->ki_structsize is uninitalised.
(I'm testing the numerator rather than the denominator, which looks
weird, but is the right thing to do here).
2001-05-03 11:26:46 +00:00
markm
ac445d2404 Update for (Linux-)PAM 0.75 2001-05-03 10:55:48 +00:00
obrien
538e761e02 * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-02 23:56:21 +00:00
mjacob
946a40b5f7 Do the alpha dance for the change MarkM hath made on the i386 side. 2001-05-02 07:10:52 +00:00
dwmalone
32ae974b98 Don't give a warning about "proc size mismatch" if no struct were
returned. (This arose on a list about a month ago when someone
found bogus warnings if they used "ps -Uuser_with_no_processes".)

Approved by:	mckusick
2001-05-01 10:34:15 +00:00
markm
c3217820c0 Compensate for header dethreading. 2001-05-01 09:37:01 +00:00
markm
489b7590ab Compenate for header dethreading. 2001-05-01 09:32:34 +00:00
markm
10ca856588 Compensate for header dethreading. 2001-05-01 09:30:02 +00:00
markm
ddbd7bc718 Compensate for header dethreading. 2001-05-01 09:24:15 +00:00
msmith
d5cca47fac Unbreak world by defining isalnum() for libstand consumers. 2001-04-29 19:06:57 +00:00
archie
24f0bef968 Add getaddrinfo(3) to the "SEE ALSO" list. 2001-04-27 18:18:12 +00:00
ru
c507c0ccd6 Grammar nit. 2001-04-27 08:16:57 +00:00
jedgar
043cc81847 Document acl_get_entry(3)
Obtained from:	TrustedBSD Project
2001-04-26 22:28:14 +00:00
iedowse
cd1f3817de The function __rpc_uaddr2taddr_af() converts an RPC "universal
address" string to a netbuf/sockaddr "transport address". In the
case of an AF_LOCAL address, it was missing the code to actually
point the netbuf at the newly allocated sockaddr_un, so the caller
ended up with a netbuf containing junk.

Submitted by:	 Martin Blapp <mb@imp.ch>
2001-04-26 17:24:05 +00:00
jedgar
2da23531d9 o Separate acl_t into internal and external representations as
required by POSIX.1e.  This maintains the current 'struct acl'
  in the kernel while providing the generic external acl_t
  interface required to complete the ACL editing library.
o Add the acl_get_entry() function.
o Convert the existing ACL utilities, getfacl and setfacl, to
  fully make use of the ACL editing library.

Obtained from:	TrustedBSD Project
2001-04-24 22:45:41 +00:00
tmm
2d5016b903 Remove bogus assignments of libc syscall stub return values to errno;
the stubs do errno assignments and return -1 in this case, so that errno
would end up with this value.

Approved by:	rwatson
2001-04-24 20:50:42 +00:00
archie
21cf7b313e Apply 'const' liberally.
Fix some other minor glitches.
2001-04-24 00:06:21 +00:00
ache
43a5f99125 Add sranddev.3 to MLINKS 2001-04-23 11:11:00 +00:00
ache
873e76a169 Add #include "un-namespace.h" 2001-04-23 10:38:26 +00:00
ache
18527260ea srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
joerg
c22f3155bd Fix directory reads of MNT_UNION mounts, where entries present in both
layers would be displayed twice.

PR:		bin/26498
Submitted by:	Olliver Fromme <olli@secnetix.de>
2001-04-23 10:01:38 +00:00
ru
684299fc84 mdoc(7) police: fix markup. 2001-04-23 07:39:36 +00:00
ache
fb76083ae2 Add sranddev() since srand() is not vary much with seed, typical time 2001-04-23 02:29:10 +00:00
dd
d3657cb5d2 Don't pass NULL to the %s format.
Reviewed by:	kris
2001-04-22 03:00:09 +00:00
msmith
f597ed86c7 Turn on libdevinfo 2001-04-21 00:11:00 +00:00
msmith
dd6af5226a devinfo_var.h should not be in INCS 2001-04-20 23:10:09 +00:00
msmith
79878361a8 More typo fixes, .Os -> .Fx 2001-04-20 23:02:52 +00:00
msmith
9f4c2ce4cc typo .Fr -> .Fn 2001-04-20 23:00:24 +00:00
msmith
ba7f88e2be Add a manpage for libdevinfo. 2001-04-20 22:48:12 +00:00
msmith
bbdb020320 This is the Device Information Library, libdevinfo.
The devinfo library provides access to the kernel's internal device
hierarchy and to the I/O resource manager.  The library uses a
sysctl(9) interface to obtain a snapshot of the kernel's state which
is then made available to the application.
2001-04-20 05:53:30 +00:00
ru
fe80a1fb97 mdoc(7) police: update referenced standard name. 2001-04-18 16:01:43 +00:00
ru
2d1b95a96f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
16a48734c9 mdoc(7) police: fix markup. 2001-04-18 15:43:06 +00:00
ru
7d4b08864a mdoc(7) police: fix markup. 2001-04-18 13:16:47 +00:00
ru
8c5fa3b175 mdoc(7) police: use .Fx where appropriate. 2001-04-18 13:14:47 +00:00
deischen
5e6e0f0b7b Typo; fix open() so that it is not a cancellation point when called
from libc.
2001-04-18 12:42:11 +00:00
deischen
9b1e997b4c Reinstall the alternate signal stack after a fork.
PR:		25110
Tested by:	knu
2001-04-18 12:40:30 +00:00
ru
03fd77f5a8 mdoc(7) police: uppercase document title. 2001-04-18 08:25:26 +00:00
kris
922e3083cc Correct a typo; prefered -> preferred. 2001-04-17 08:01:54 +00:00
kris
0f958ee746 Add fmtcheck(), a function for checking consistency of format string
arguments where the format string is obtained from user data, or
otherwise difficult to verify statically.

Example usage:

printf(fmtcheck(user_format, standard_format), arg1, arg2);

checks the format string user_format for consistency (same number/order/
type of format operators) with standard_format.  If they differ,
standard_format is used instead to avoid potential crashes or security
violations.

Obtained from:  NetBSD
Reviewed by:    -arch
2001-04-17 07:59:52 +00:00
ru
fc3ab5d07e mdoc(7) police: add missing .El call. 2001-04-16 15:06:57 +00:00
ru
91998be9f0 mdoc(7) police: fix markup. 2001-04-16 15:06:19 +00:00
dd
02c02ffeef Grammar police: "its", not "it's", is the possessive form of "it". 2001-04-15 19:53:47 +00:00
dd
05eff787d1 Make links from setresuid.2 to getresgid.2 and getresuid.2. 2001-04-15 19:41:44 +00:00
dd
e91392f0b6 Document getresgid and getresuid calls.
Reviewed by:	ru
2001-04-15 19:40:22 +00:00