Commit Graph

20 Commits

Author SHA1 Message Date
obrien
bc61fc95d8 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
dwmalone
e1a6bcf77d 1) Add missing prototypes for fmt_perm and cvt_time.
2) Move a break outside a #if block to keep gcc3 from seeing a "default:"
   at the end of a block.
3) Fix some format warnings. Some remain which can be fixed more easily
   when we have a full C99 printf.
2002-03-30 16:46:04 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +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
dd
dc0185a459 Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
2001-06-24 19:50:42 +00:00
dd
5d0075dbe1 Convert to use the sysctl interface to obtain the data when operating
on a running system.  Using kvm is still supported, primarily for
postmortem analysis.

Reviewed by:	tmm
2001-05-31 22:30:39 +00:00
peter
2af5c3f860 Remove the undocumented semconfig() system calls. These cause more trouble
than they are worth.
2000-05-01 10:49:41 +00:00
nectar
2bfd3498b2 Instead of checking for a non-zero return value from kvm_read, check
whether we read as many bytes as we expected.
2000-03-31 15:02:10 +00:00
peter
d53e4c1d80 Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.
1999-12-29 05:07:58 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
charnier
783e86e99e Add rcsid, Remove unused vars. 1997-07-15 09:55:59 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
joerg
81a254ffb3 s/msg/shm/ for one variable.
Submitted by:	jin@george.lbl.gov (Jin Guojun[ITG])
1996-07-18 20:42:48 +00:00
pst
9d48774924 Drop privileges if we're not reading standard kernel file or namelist.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:18:44 +00:00
bde
9bdc2db62d Instantiate our own variables instead of depending on bogus common
declarations in system headers that will be fixed soon.
1995-07-12 19:10:17 +00:00
dg
227775e50c Declared msginfo, shminfo, and seminfo structs. 1994-09-19 10:24:38 +00:00
dfr
6294a52660 Imported the NetBSD version which acts a lot more like the SYSV program.
Obtained from: NetBSD
1994-09-13 16:59:29 +00:00
dfr
8d5f738b88 Added from FreeBSD-1.1.5 with some additions to list shared memory segments. 1994-09-13 15:27:02 +00:00