Commit Graph

5414 Commits

Author SHA1 Message Date
keramida
2043ec9c75 Be more explicit about the fact that realloc() might return a
different pointer than the one passed to it.

PR:		docs/31925
Submitted by:	Andrew <andrew@ugh.net.au>
2001-11-24 03:05:40 +00:00
ru
c603cc2410 mdoc(7) police: markup cleanup. 2001-11-22 11:17:58 +00:00
ru
51297aa316 mdoc(7) police: add missing comma. 2001-11-22 09:48:54 +00:00
fjoe
ae79066ef7 fix compilation (include -> #include) 2001-11-21 20:40:21 +00:00
ru
a94abd592c mdoc(7) police: fixed typos and minor markup nits. 2001-11-21 16:19:50 +00:00
ru
93770053a4 mdoc(7) police: markup nit in the actual rev. 1.13 changes. 2001-11-21 15:56:45 +00:00
ru
794ef0e3c5 mdoc(7) police: restore all FreeBSD fixes to this file that got
clobbered by previous commit.
2001-11-21 15:50:57 +00:00
ru
6c3b33cefd mdoc(7) police: general cleanup. 2001-11-21 15:41:49 +00:00
green
0ef556819d Should also include namespace.h
Submitted by:	ru
2001-11-21 15:33:40 +00:00
green
fe1ad601f9 Change certain syscalls from x to _x.
Prodded by:	bde
2001-11-21 14:44:52 +00:00
ru
1ce1f01831 Grammar nit. 2001-11-21 09:25:14 +00:00
ru
ec2f37f6bd mdoc(7) police: fixed bugs from rev. 1.15. 2001-11-20 16:40:04 +00:00
green
c28198f6aa Introduce readpassphrase(3), a superset of getpass(3). This
comes originally from Todd Miller.

Obtained from:	OpenBSD
2001-11-20 15:15:42 +00:00
ru
1a463f2a13 mdoc(7) police: minor markup and spelling fixes. 2001-11-20 14:11:07 +00:00
ru
aecd959b16 mdoc(7) police: sort xrefs. 2001-11-20 13:58:21 +00:00
ru
ab6a8feaa5 mdoc(7) police: consistently use the .Ux macro. 2001-11-20 13:54:11 +00:00
ru
8a80c57659 mdoc(7) police: remove whitespace at EOL. 2001-11-20 13:43:58 +00:00
jhb
5bacc80a9d Include sys/param.h instead of sys/types.h to get the definition of the
MIN() macro.

Pointy hat to:	rwatson
2001-11-20 08:26:37 +00:00
rwatson
5ec96eeb80 o Cleanup of includes: user.h may be a catch-all, but that's not
entirely desirable.  Back out previous commit, and clean up includes
  to be more minimal.

Submitted by:	bde
2001-11-19 21:14:50 +00:00
rwatson
ae045f4fe9 #include <sys/user.h> rather than individually including a plethora
of kernel include files, reducing the replication of kernel include
dependency information in userland.

Obtained from:	TrustedBSD Project
2001-11-19 15:26:36 +00:00
jake
411e9eb2c3 Actually build new files.
Forgotten by:	jake
2001-11-19 00:19:49 +00:00
jake
ce4a8c6c3a libkvm for sparc64. Only works for kernel memory so far. 2001-11-18 21:01:09 +00:00
jake
b5cb81903b Need .type and .size here too. 2001-11-18 04:48:34 +00:00
jake
14be0f002b Add more libc stuff.
Obtained from:	netbsd
2001-11-18 04:40:30 +00:00
jake
33c14439f7 Catch up to jmpbuf changes. Define offsets used from assmebly language
in another file so that it is easy to see what they are and keep them in
sync with the headers (grafted from the kernel generated assym.s).
2001-11-18 04:35:09 +00:00
jake
42e8eb05d4 Remove fork and vfork wrappers. The kernel does the right thing. 2001-11-18 04:31:36 +00:00
jake
659ee9ad61 Add .type and .size pseudo-ops to system call macros so that dynamic binaries
will link.  They must be used for weak symbols as well as strong ones.
2001-11-18 04:29:20 +00:00
iedowse
a39acba1f5 Remove a sentence from the BUGS section that claims non page-aligned
offsets don't work. It should really be documented that the returned
pointer can be in the middle of a fully-valid page when the offset
is not page-aligned, but I couldn't come up with suitable wording.

PR:		kern/22754
2001-11-18 00:47:45 +00:00
deischen
a01db2c318 Fix pthread_join so that it works if the target thread exits while
the joining thread is in a signal handler.

Reported by:	Loren James Rittle <rittle@labs.mot.com>
MFC after:	1 week
2001-11-17 14:28:39 +00:00
phk
52eadcfa6b If 'VX' is given, realloc(foo,0) will bail, it shouldn't.
PR:		29376
Submitted by:	Farooq Mela <fmela0@sm.socccd.cc.ca.us>
2001-11-17 10:57:04 +00:00
phk
f5a65809cf Correctly call THREAD_UNLOCK() if the recursive call trap is sprung.
Pointed out by:		knu
2001-11-16 18:15:33 +00:00
dd
ef893a1bfd Create link from directory.3 to readdir_r.3.
PR:		32028
Submitted by:	andrew@ugh.net.au
2001-11-16 15:49:38 +00:00
rwatson
89bad2a9f7 o Reflect repo-copy of extattr.[c3] from libutil to libc, moving
extattr namespace routines to the libc/posix1e directory.  While
  the extattr calls are not strictly POSIX.1e, POSIX.1e wasn't
  strictly ever approved, so I think that's OK.

Obtained from:	TrustedBSD Project
2001-11-16 05:09:45 +00:00
rwatson
d83b502e05 o Document 'nocheckmail' login capability. 2001-11-16 04:39:43 +00:00
rwatson
f6e4595697 Although the 'bool' type is referenced in the list of capabilities, it
is not defined in the capability type list.  Provide a definition for
'bool', if a slightly less than elegant one.  Note that this definition
does not include the complete scope of available behavior defined
in cgetcap(3), and could probably be improved.
2001-11-16 02:40:09 +00:00
mike
103fa4ca48 o Implement imaxabs(), imaxdiv(), llabs(), lldiv().
o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards
  conformance and add additional references.

Reviewed by:	bde, wollman
2001-11-15 02:05:03 +00:00
murray
f7df994da2 Cross-reference the fdopen and fileno manpages.
PR:		docs/31866
Submitted by:	W. Campbell <wcampbel@botbay.net>
2001-11-14 16:24:51 +00:00
jhb
0ad9e3ea5d Cleanups after previous change:
- Renumber labels since the previous revision removed one.
- Remove useless and wrong comment.
  - Repeating the function name is just redundant.
  - The previous revision made the comment about %edx useless.
  - The comment about %eax was wrong (but did explain why %eax used to be
    fixed up).

Submitted by:	bde
2001-11-13 16:58:43 +00:00
jhb
7cfbcce01d The kernel already fixes up %eax for parents that return from fork, so
don't bother manually fixing up %eax for the parent process by testing
the value in %edx and zeroing and already zeroed %eax.
2001-11-13 06:36:43 +00:00
matusita
db0501741d One more fix for sysinstall/libdisk to create a device file
if and only if a target directory is devfs.  Previous patch
doesn't correct, it's unconditionally avoid to create a device
file if kernel knows devfs.

PR:		31109
2001-11-11 12:16:50 +00:00
gshapiro
db44c89c5f Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation was
replaced with the new version in sendmail's distribution, vacation and
the necessary libraries (libsmdb and libsmutil) were changed so they
were always compiled.  This broke people who didn't checkout
src/contrib/sendmail/.  I don't know if it's best to think of NO_SENDMAIL
as no sendmail sources available or no sendmail binary.  It is now the former.

Also, remove the sendmail chapter from System Managers Manual (SMM) if
NO_SENDMAIL is defined (for similar reasons -- source not available).

PR:		31863, 31865
Submitted by:	matusita, Joe Kelsey <joe@zircon.seattle.wa.us>
MFC after:	3 days
2001-11-11 05:26:59 +00:00
bde
ce53099ecb Fixed namespace pollution related to `err' in libc in the same way as for
`warn'.  Now a whole 2 members of the err() family don't cause pollution.

This fixes world breakage in awk for NOSHARED worlds. contrib/awk/msg.c
has had its own version of err() for a long time, but this somehow
didn't cause problems until the update to awk-3.1.0.
2001-11-11 02:48:09 +00:00
des
1b83e03b49 Increment the loop counter.
PR:		bin/29218
Submitted by:	Goran Lowkrantz <goran.lowkrantz@ismobile.com>
2001-11-10 17:36:58 +00:00
ru
1951c12567 - Put missing prototype for rcmd() in <unistd.h>.
- Clean up the manpage.
- style(9) rcmdsh.c.

Committed from:	BSDCon/EU 2k+1 terminal room
2001-11-09 15:19:25 +00:00
dcs
8f84ea2635 The algorithm that computes the tables used in the BM search algorithm sometimes
access an array beyond it's length. This only happens in the last iteration of
a loop, and the value fetched is not used then, so the bug is a relatively
innocent one. Fix this by not fetching any value on the last iteration of said
loop.

Submitted by:	MKI <mki@mozone.net>
MFC after:	1 week
2001-11-09 10:17:44 +00:00
peter
67d2aa58e3 Note that the manpage is incorrect about the vector argument. 2001-11-09 01:01:50 +00:00
peter
86b86fe5f0 kern.ps_arg_max_cache is a long, not an int. I believe this is half of
what broke ps on ia64.  It probably also broke on alpha, but the fallback
method of using lseek/read on /proc/*/mem to read ps_strings seems to
work there.  It doesn't on ia64 yet.
2001-11-08 00:23:06 +00:00
obrien
85e5a103f1 Fix vendor ID's. 2001-11-07 22:12:52 +00:00
obrien
a49f4025b3 rcsid[]->__FBSDID 2001-11-07 19:55:16 +00:00
fenner
8742b6edad Don't ignore unknown characters. The previous code treated a line like:
hosts:!!!!!!!!@@@@@$%^&*()()*$(files{}{}|||++!)(dns

exactly the same as:

hosts: files dns

Recover from parse errors by looking for the end of a line; this
allows entries without errors to still be parsed even if there is
an erroneous entry earlier in the file.
2001-11-07 00:05:26 +00:00