wollman
00e94fa29a
Add pselect(3) to the build. Need to figure out the most appropriate
...
way to document this interface.
2002-06-15 23:42:59 +00:00
wollman
7d20b8cfe0
Since POSIX gives us plenary authority to define _t types, change
...
__dlfunc_t to dlfunc_t to match what I have proposed to the Austin
Group. (This also makes it easier for applications to store these
values before they decide what to do with them, e.g., in a wrapper
function.)
2002-05-29 19:35:13 +00:00
wollman
be46d62cfe
Add link dlopen(3) -> dlfunc(3).
...
Reminded by: mike
2002-05-29 17:38:42 +00:00
wollman
5bbebb88fb
Reorganize dlfcn.h slightly to separate out XSI and BSD interfaces.
...
Add new dlfunc() interface, which is a version of dlsym() with a
return type that can be cast to a function pointer without turning
your computer into a frog.
Reviewed by: freebsd-standards
2002-05-29 16:25:43 +00:00
alfred
1ee311b26d
Assume __STDC__, remove non-__STDC__ code.
...
Submitted by: keramida
2002-05-28 17:03:12 +00:00
jake
e35256e809
These files are no longer used.
2002-05-24 04:41:02 +00:00
jake
d6dcf86c81
Generate the normal asm stubs for all sysv system calls. Use these instead
...
of C wrappers for the *sys indirect system calls. The indirect system calls
are horribly broken on sparc64.
Submitted by: tmm
2002-05-23 23:51:57 +00:00
phk
02fe70f68e
Retire the bogus uses of the disklabel field d_sbsize and begin to
...
initialize it to zero so we don't have to have everbody and their
aunt including FFS specific header files.
Sponsored by: DARPA & NAI Labs.
2002-05-12 20:49:41 +00:00
joe
36c976074e
Replace /kernel with /boot/kernel/kernel.
...
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
des
86f528a4ae
Fix bug that causes passwd and friends to fail when the user has a '+' in
...
their passwd file for NIS because _PWF_SOURCE is not set.
Submitted by: amigus (perforce change 10969)
2002-05-07 23:26:00 +00:00
des
8f75397c1d
#include <string.h> instead of <strings.h>
2002-04-25 18:14:39 +00:00
joe
b981450019
Support the snapshot file flag, so that tools like 'ls -ol' work
...
as expected on snapshot files.
PR: bin/37038
Submitted by: Joshua Goodall <joshua@roughtrade.net>
2002-04-16 11:03:22 +00:00
des
e4c18be72a
Missed a spot in previous commit.
...
Sponsored by: DARPA, NAI Labs
2002-04-15 00:21:25 +00:00
des
06b809501b
(ab)use unused bits in the pw_fields member of struct passwd to record
...
the source of the data contained in the structure.
Sponsored by: DARPA, NAI Labs
2002-04-14 22:24:55 +00:00
ru
6d38d7dc3c
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
2002-04-09 11:39:05 +00:00
phk
f0ca71273e
Catch up with const'ification of <sys/disklabel.h> and quelch warnings.
2002-04-08 08:57:21 +00:00
phk
8b6606cbb7
Initial deorbit burn for the undocumented and unused d_boot[01]
...
fields of struct disklabel.
Sponsored by: DARPA and NAI Labs.
2002-04-03 15:44:53 +00:00
markm
76fe441a7b
Do not use __progname directly (except in [gs]etprogname(3)).
...
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.
2002-03-29 22:43:43 +00:00
bde
2c14ede5e3
Fixed some style bugs in the removal of __P(()). Some function parameter
...
lists were outdented to column 0.
2002-03-26 01:35:05 +00:00
dd
5939a9b399
A break after a return is useless.
2002-03-24 08:38:21 +00:00
dd
285344c7f5
Fix braino.
2002-03-24 06:30:28 +00:00
imp
300518c0a1
Breath deep and take __P out of the system include files.
...
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
2002-03-23 17:24:55 +00:00
obrien
b1189e8930
Fix the style of the SCM ID's.
...
I believe have made all of libc .h's as consistent as possible.
2002-03-22 23:42:05 +00:00
obrien
d90536e35b
Fix the style of the SCM ID's.
...
I believe have made all of libc .c's as consistent as possible.
2002-03-22 21:53:29 +00:00
obrien
e2881f49cc
Remove multi-line __P() usage.
2002-03-22 09:22:15 +00:00
imp
9c371e01e9
const poison just like NetBSD.
2002-03-22 02:43:01 +00:00
imp
bb8112f72f
Make user_from_uid and group_from_gid return const char *, just like
...
NetBSD. Update man page to reflect this.
2002-03-22 02:35:47 +00:00
obrien
3b73ce2319
Remove __P() usage.
2002-03-21 22:49:10 +00:00
peter
e0773a724e
Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwise
...
it causes undefined references to getcontext() and setcontext() on
platforms other than i386 and alpha.
2002-03-21 06:45:32 +00:00
dd
64fba57403
mdoc(7) police: bump document date to the date of the last interface
...
change (revision 1.2 of devname.c on 1999/07/18), don't put quotes
around a path, and use .Dv where appropriate.
2002-03-18 02:36:43 +00:00
dd
15e2eac5f3
Update to reflect reality; devname(3) hasn't returned NULL on failure
...
since revision 1.2 of devname.c (1999/07/18). While I'm here, note,
in the BUGS section, that the returned pointer is to a static buffer.
2002-03-18 02:32:53 +00:00
ru
0bb11678ac
Come on guys, you can't just take OpenBSD manpage and commit it
...
over someone else's fixes; this is at least offensive. If you
have problems doing a proper merge, we are here, your fellow
committers. :-(
Reapply markup fixes from revision 1.2 and fix some more. Also
fix the $OpenBSD$ tag.
2002-03-15 17:46:53 +00:00
dwmalone
0379e0b3d7
If syslog fails to talk to syslogd, then it tries to write a message
...
to the console in a final attempt to log something. Make this final
attempt non-blocking so that a blocking console doesn't end up
blocking process which attempt to syslog something.
In particular, this means you should be able to su and fix the
problem if the console becomes blocking.
MFC after: 3 weeks
2002-03-09 11:38:01 +00:00
dd
247e6b16ee
This API will appear in FreeBSD 4.6.
2002-03-09 05:19:21 +00:00
dd
69772af884
Bring a comment in line with the code, and fix some spelling errors
...
while I'm here.
PR: 35394
Submitted by: andrew@ugh.net.au
2002-03-09 04:00:53 +00:00
green
fa8475a7f6
Fix build. I commented out getpass() in readpassphrase.c because the
...
implementation did not match our manpage description (i.e., it could
return NULL). I mistakenly thought we were still using getpass.c
because, for some reason, CVS never removed it from the tree.
Pointy hat received from: alfred
Kick in the groin to: CVS
2002-03-09 03:16:41 +00:00
green
e81a222988
Update readpassphrase(3)to the latest revisions. Changes are mainly due
...
to return value constraints now changing as well as more intelligent
handling of signals.
Obtained from: OpenBSD
2002-03-08 21:14:00 +00:00
green
965906f60d
Add new errno ``ENOATTR''.
2002-03-07 15:13:44 +00:00
dd
c8a6bd9922
Introduce a version field to `struct xucred' in place of one of the
...
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being). Accordingly, change users of
xucred to set and check this field as appropriate. In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former. This also has the pleasant sideaffect of removing some
duplicate code.
Reviewed by: rwatson
2002-02-27 04:45:37 +00:00
alfred
a375f90225
use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over
...
the user supplied buffer. this can be a problem when the user doesn't
supply a full dirent and we corrupt their memory.
2002-02-26 21:39:32 +00:00
sobomax
c70d19ad22
Per POSIX <grp.h> doesn't require <sys/types.h>.
...
Submitted by: ache
2002-02-25 17:20:40 +00:00
imp
60cc340d82
Fixed divots that I created when I moved prototypes of group_from_gid
...
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
2002-02-19 00:05:59 +00:00
imp
6b64a7550c
Use new-style function declations.
2002-02-13 09:30:47 +00:00
ru
3c39931603
FreeBSD 4.1 bootstrapping aid (__FBSDID is not there).
2002-02-08 09:34:17 +00:00
sobomax
0a68f500fa
Allow ldd(1) be used on shared libraries in addition to executables.
2002-02-04 10:33:48 +00:00
bde
bcd12df5f0
Fixed tab lossage in vendor id and nearby style bugs in previous commit.
2002-02-01 23:26:32 +00:00
bde
986de447b0
Fixed syntax error in previous commit. It was non-fatal because it was
...
in conditional code that happens not to be compiled, and because gcc
doesn't complain garbage after #endif by default.
Fixed some style bugs in previous commit, 1.8 and 1.1.
2002-02-01 23:16:39 +00:00
obrien
3a4c556593
Fixed slipage in editor.
2002-02-01 07:26:00 +00:00
obrien
a16458e33c
Cut-n-paste in `list' mode considered harmful.
2002-02-01 07:25:07 +00:00
obrien
b45ff0fb56
* Remove __P and convert to ANSI prototypes.
...
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
2002-02-01 01:32:19 +00:00