Commit Graph

3671 Commits

Author SHA1 Message Date
alfred
18f642a248 Clarify that we don't offer hard realtime.
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
jasone
662c778ddd Fix millisecond to nanosecond conversion.
PR:		misc/16245
2000-01-22 09:15:15 +00:00
mjacob
9f5625a6c5 Specify the system directory for which we put in our include path
as a separate line so we can override it on the command line if
we need to.
2000-01-21 20:11:40 +00:00
bde
101b6ec95e Oops, The dependency of libcrypt on libmd went away before it was "fixed"
here.

Reported by:	peter
2000-01-21 02:00:53 +00:00
jasone
303a1b5e43 Remove unnecessary alternate entry points for *setjmp(). Make the main
entry point the standard name when not compiling libc_r (for example,
longjmp is the main entry point instead of __longjmp).

Suggested by:	bde
2000-01-20 21:58:27 +00:00
jasone
d28faf45be Minor *jmp() cleanups. 2000-01-20 21:53:59 +00:00
jasone
3daa9aa719 Add sem_*() functions. Named semaphores and process-shared semaphores
are not supported by this implementation, and the error return values
from sem_init(), sem_open(), sem_close(), and sem_unlink() reflect this.

Approved by:	jkh
2000-01-20 07:54:49 +00:00
jasone
3d70640506 Do signal deferral for pthread_kill() as it was done in the old days.
Submitted by:	deischen
2000-01-20 04:46:52 +00:00
jasone
271b33587d Move ENTRY and ALTENTRY definitions to asm.h where they belong.
Unbreak profiling.  Again.

Submitted by:	bde
2000-01-20 03:15:01 +00:00
sheldonh
ad9f304ef9 Although it should be obvious that the 3-digit numeric values of the
characters shown are octal, state this explicitly for the easily
misled.
2000-01-19 16:21:05 +00:00
sheldonh
74366b47ef Make the quotes in the #include line visible. 2000-01-19 13:27:03 +00:00
ru
3710f9234c Do not set the default terminal type to "su", leave it empty.
PR:		bin/5084
Reviewed by:	asmodai, davidn, sef
2000-01-19 10:54:44 +00:00
jasone
0b9957ff21 Implement continuations to correctly handle [sig|_]longjmp() inside of a
signal handler.  Explicitly check for jumps to anywhere other than the
current stack, since such jumps are undefined according to POSIX.

While we're at it, convert thread cancellation to use continuations, since
it's cleaner than the original cancellation code.

Avoid delivering a signal to a thread twice.  This was a pre-existing bug,
but was likely unexposed until these other changes were made.

Defer signals generated by pthread_kill() so that they can be delivered on
the appropriate stack.  deischen claims that this is unnecessary, which is
likely true, but without this change, pthread_kill() can cause undefined
priority queue states and/or PANICs in [sig|_]longjmp(), so I'm leaving
this in for now.  To compile this code out and exercise the bug, define
the _NO_UNDISPATCH cpp macro.  Defining _PTHREADS_INVARIANTS as well will
cause earlier crashes.

PR:			kern/14685
Collaboration with:	deischen
2000-01-19 07:04:50 +00:00
jasone
2c6582da15 Make minor entry point changes to support libc_r. 2000-01-19 07:01:40 +00:00
rwatson
bfcdbb7508 Fix bde'isms in acl/extattr syscall interface, renaming syscalls to
prettier (?) names, adding some const's around here, et al.

This is commit 4 out of 3, updating the userland library to reflect kernel
interface changes.

Reviewed by:	bde
2000-01-19 06:13:59 +00:00
wpaul
81ac67ad74 Close PR#16028. Make the sanity check saner. The condition that we
check for on the server may arise legitimately on the client. The
correct way to check for a zero record length is to check for it
without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG
marker with 0 bytes of data.

PR:		misc/16028
2000-01-19 06:12:32 +00:00
chris
5abc54f36b Document KERN_QUANTUM under CTL_KERN
PR:		15637
Submitted by:	jhs
2000-01-19 05:32:27 +00:00
chris
0d97bae686 Document isnanf() for checking if a float is NaN (``Not-a-Number'') and
create a link from isnanf.3 to isinf.3.

PR:		13878
2000-01-19 04:58:39 +00:00
markm
df0e9dcbe4 This man page is not needed; it just gets jumped on later when libcrypt
is installed.
Submitted by:	bde
2000-01-18 18:25:45 +00:00
markm
7673d098ec A bunch of factual corrections. 2000-01-18 18:23:28 +00:00
sheldonh
960ecfb171 Add HISTORY.
Submitted by:	obrien
2000-01-18 12:50:13 +00:00
deischen
17c111ba77 Properly initialize the last active time of the initial thread. This fixes
the case that a CPU hungry main thread is prevented from being preempted
due to a negative calculation of its time slice.

Reported by:	Alexander Litvin <archer@lucky.net>
2000-01-18 11:35:25 +00:00
obrien
edb0f8fb68 trailing white space removal. 2000-01-18 07:43:12 +00:00
obrien
1e82517f05 Add two new functions cd9660_readfile() & cd9660_readdir(), which
cd9660_read() now uses to read CDROMs.  With these changes FreeBSD/Alpha
can now boot from a bootable CDROM.

Submitted by:	dfr
2000-01-18 07:37:10 +00:00
bde
cc85ed5238 Fixed missing backslash in previous commit. Adding setresuid.2 has taken
4 commits and 2 world breakages so far.
2000-01-18 05:38:05 +00:00
sheldonh
ab8476344d Fix line too long style bug in the previous commit (which, by the
way, unbroke world).
2000-01-18 05:15:26 +00:00
ache
92d07f2587 add setresuid.2 2000-01-18 04:37:21 +00:00
chris
a22f0b8c89 Repair internal consistency: Change "login_cap_t * lc" to a more correct
(and consistent) "login_cap_t *lc".
2000-01-18 03:02:29 +00:00
billf
1fb52e4543 Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.

Reviewed by:	chris
2000-01-18 01:27:47 +00:00
rwatson
a9df9c5f9f acl_delete_default_file() changed to acl_delete_def_file() 2000-01-17 17:48:22 +00:00
sheldonh
e6afbccaac Add manual pages for the newly added setres[ug]id system calls. 2000-01-17 15:01:42 +00:00
jdp
61f9c80344 Fix error message that was too hastily cut&pasted from libradius.
Submitted by:	Alexey Zelkin <phantom@cris.net>
2000-01-17 04:26:09 +00:00
bde
e35803196d Fixed bitrot in library build order. libmd was not built before
libcrypt and libutil was not built before libpam.

The order here is currently unimportant, but ../Makefile should
descend here to build everything (which currently doesn't work
right) or at least to get the order using `make -V SUBDIR'.
2000-01-17 01:32:39 +00:00
kris
f7cc1d01ee We no longer care about the VAX and Tahoe compilers :-) 2000-01-17 01:28:00 +00:00
mjacob
a9af023473 get pd_type from inquiry data itself 2000-01-16 20:15:43 +00:00
bde
e62a650ead Fixed stray backslash in previous commit.
Fixed bitrot in comments about library dependencies.  The list has been
maintained better in ../Makefile.inc1, except it has been uninverted
there so it is hard to use manually.
2000-01-16 04:43:11 +00:00
rwatson
e48c1317b1 Oops, didn't commit the Makefile for libposix1e--this should fix build
problems.

Reviewed by:	eivind
2000-01-15 23:33:49 +00:00
rwatson
2802ca66f1 Enable the building of libposix1e
Reviewed by:	eivind
2000-01-15 19:47:01 +00:00
rwatson
71ddc09478 libposix1e provides userland library calls for the POSIX.1e security
interface.  This commit introduces the library, as well as a modest
subset of the ACL calls, with some modifications to support multiple
ACL semantics.

Reviewed by:	eivind
2000-01-15 19:44:27 +00:00
shin
aebe3f8e9d Support v6 login. 2000-01-15 03:26:54 +00:00
bde
3c0d60caf9 Fixed corrupted tabs in previous commit. 2000-01-14 15:47:00 +00:00
rgrimes
c127d0e61e Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
shin
16085f4294 libc rcmd update for IPv6.
A new function bindresvport2(), AF independent version of bindresvport()
is also added.

Reviewed by: sumikawa
Obtained from: KAME project
2000-01-13 15:09:48 +00:00
asmodai
67fa8a58e3 Correct placement of $FreeBSD$ CVS identifier. 2000-01-13 14:27:44 +00:00
asmodai
520393ee7a Change `from'' to `to''.
PR:		15729
Submitted by:	Kim Toms
2000-01-13 14:26:23 +00:00
bde
317b8ad9df Fixed missing include and missing arg in synopsis. 2000-01-13 10:22:50 +00:00
bde
f3d41d655e Fixed missing include in synopsis. 2000-01-13 10:21:25 +00:00
jasone
226390d852 Fix unresolved _libc_*() references in libc by creating weak aliases
to the respective system call entry points.
2000-01-13 09:26:50 +00:00
shin
5f66665af1 added IPv6 unspecified addr check for getipnodebyaddr. 2000-01-13 05:47:11 +00:00
shin
773759d8c9 added IPv4 mapped IPv6 addr consideration for getaddrinfo() reverse lookup case 2000-01-13 05:37:51 +00:00
jasone
4b4a2e733a Track libc's three-tier symbol naming. libc_r must currently implement
the _libc_*() entry points and add *() weak aliases.  This will all
change for the better when libc_r becomes libpthread.
2000-01-12 09:28:58 +00:00
jasone
75903038bc Add three-tier symbol naming in support of POSIX thread cancellation
points.  For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() <-- _libc_read() <-- read().
2000-01-12 09:23:48 +00:00
green
f5d02a1957 This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
2000-01-11 12:51:56 +00:00
green
db50f8609e *draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
2000-01-11 12:37:57 +00:00
phantom
12408f1416 Install html files to /usr/share/doc/ncurses/ 2000-01-10 12:12:51 +00:00
deischen
b4c9cf300f Make sched_param parameter a const to comply with POSIX and SUSv2 specs.
This doesn't need to be applied to stable, because somehow -stable seems
to have gotten it right.

Reviewed by:	jasone
2000-01-10 04:14:08 +00:00
jdp
2ffb21198c Remove the warning that this interface shouldn't be used yet. Fix
a typo.  Clarify a sentence.
2000-01-09 21:01:39 +00:00
kris
928ad74819 Correct discrepancy between definition of argument to tempnam() and
the name by which it is referenced in the text.
2000-01-09 08:54:03 +00:00
kris
1e78bc825f Sync contents of struct nfsd_svrargs 2000-01-09 01:54:35 +00:00
des
c701cfdd7c More old uncommitted patches: implement timeouts at the protocol level.
Currently only supported for ftp connections.
2000-01-07 12:58:40 +00:00
des
3acbd8ffda Add error codes for protocol errors. 2000-01-07 12:56:27 +00:00
des
1e930b38f8 Patches I've had lying around for several months:
* Add the 'h' ftp flag (allocate local port in high range)
 * Add the 'd' flag (use direct connection even if proxy is defined)
 * Make sure flags != NULL before calling strchr().
 * Minor changes to some comments.
2000-01-07 10:59:12 +00:00
kris
b07ed057b5 Zap SHA1 password support. This will be re-implemented at a later date. 2000-01-07 06:33:54 +00:00
shin
9b5932fc47 libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-06 12:40:54 +00:00
deischen
f1787f2960 Change REGENTS -> AUTHOR in the copyright.
Add $FreeBSD$.

I missed this file in a previous commit.

Pointed out by:		tg
2000-01-06 12:16:16 +00:00
itojun
be619b600c remove most of PF_INET6 description. add references only.
Suggested by:	Ruslan Ermilov <ru@FreeBSD.org>
2000-01-06 08:58:33 +00:00
itojun
b5c109c129 bring in description for KAME IPv6 changes.
XXX it looks that sysctl.3 lacks most of PF_INET items.
Reviewed by:	shin
Obtained from:	KAME (netbsd-current)
2000-01-06 03:47:57 +00:00
hoek
25fa278a58 Make example for handling "-##" work and comply with style(9). Still
doesn't handle nastier corner cases such as "-j3 -33" correctly.  <shrug>

PR:		docs/12994 (James Howard <howardjp@wam.umd.edu>)
2000-01-06 01:25:15 +00:00
bde
99aef07680 Fixed the type of dllockinit() (const unpoisoning).
Use long lines instead of lines split with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-01-05 19:04:55 +00:00
bde
95de817e06 Fixed missing include in synopsis.
Use long lines instead of lines split with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.
2000-01-05 19:02:14 +00:00
bde
2652dfd127 Fixed missing include in synopsis. 2000-01-05 18:54:37 +00:00
bde
46f9930cf5 Fixed missing includes in synopsis. <sys/file.h> went missing when KERNEL
was not updated to _KERNEL.  Actually including <sys/file.h> as specified
never actually worked, since a prerequisite was missing.
2000-01-05 16:38:58 +00:00
bde
3a2a6cb025 Fixed missing include in synopsis.
Removed superfluous quoting of function name in .Fo macro.  My synopsis
checker doesn't understand it.
2000-01-05 16:31:12 +00:00
phantom
fd01ba988e mdoc(7)'fy 2000-01-05 15:16:32 +00:00
jasone
ee0047e544 Unbreak profiling. bde says this is not the cleanest way to fix the
problem, but that it works.

Submitted by:	bde
2000-01-04 00:02:21 +00:00
billf
fd1f77cbc0 Grammar: "be even number" -> "be an even number" 2000-01-03 20:18:04 +00:00
marcel
5ed0012e79 Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
bp
3a5569cf04 Remove duplicated extern.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-01-01 14:21:31 +00:00
hoek
8ff2a6f6d4 Backout the prev. commit. It's a bad idea to make-up terms. I believe
there is no good solution here.

Set-on-the-straight-and-narrow by:	bde
1999-12-31 21:27:02 +00:00
joe
a381d987c4 Moved flags_to_string and string_to_flags into libutil. It's used in
many places nowadays.
1999-12-30 13:15:15 +00:00
peter
e8ea19d78e Connect fparseln(3) for mailwrapper(8) 1999-12-29 17:50:34 +00:00
jasone
a0b3dffc3d Don't explicitly mmap() red zones at the bottom of thread stacks (except
the initial thread).  Instead, just leave an unmapped gap between thread
stacks and make sure that the thread stacks won't grow into these gaps,
simply by limiting the size of the stacks with the 'len' argument to
mmap().  This (if I understand correctly) reduces VM overhead
considerably.

Reviewed by:	deischen
1999-12-29 15:44:59 +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
deischen
97c9872408 -Wall and minor style(9) cleanups. 1999-12-28 18:13:04 +00:00
deischen
9321f383a2 Change stack allocation algorithm to make better use of memory
(it was leaving an unused block).  Also protect the global stack
pointer from context changes while fiddling with it.
1999-12-28 18:12:07 +00:00
deischen
2a6c7913a0 Don't wakeup threads when there is a process signal and no installed
handler.  Thread-to-thread signals (pthread_signal) are treated differently
than process signals; a pthread_signal can wakeup a blocked thread if
a signal handler is not installed for that signal.

Found by:	ACE tests
1999-12-28 18:08:09 +00:00
hoek
91e396f155 Typo cops. 1999-12-28 15:24:01 +00:00
hoek
30af2ca344 Add history: The reallocf() function first appeared in FreeBSD-3.0.
See imp's 199808201619.KAA20970@harmony.village.org in freebsd-hackers (the
reallocf.c cvs history mistakenly refers to freebsd-current).
1999-12-28 15:14:59 +00:00
hoek
6402f219ac Add ".Xref tolower 3" since its internal use is inferred in DESCRIPTION. 1999-12-28 14:57:33 +00:00
hoek
ff58456baf Avoid the potentially confusing term "a null pointer" and say "the NULL
pointer" instead.  The potential confusion arises because the string/*.3
pages use the term "null-terminated string" (which is permissable).  Moreover,
this also makes these two manpages more consistent with the other string/*.3
manpages.
1999-12-28 14:47:00 +00:00
hoek
e4beaa24b2 Add .Xrefs to tolower.3 and toupper.3, respectively. 1999-12-28 14:10:21 +00:00
peter
8d188898fd Use the ctype.h version of isascii() - it doesn't loose precision and think
that 0x100 (int) is an ascii character.

Submitted by:	bde
1999-12-28 11:48:23 +00:00
rwatson
425c15d62c Suppress vast quantities of unneeded warnings spewed by libc's gethostbydns
on encountering a real-world SIG record during a lookup of another type.

PR:		bin/7352
Reviewed by:	peter, eivind
1999-12-28 07:21:08 +00:00
shin
21448b4627 Small bug fix and improvements
(1)added error check of if_nameindex() return value at getaddrinfo().
  (2)print out more detailed information when getaddrinfo() error value
     is EAI_SYSTEM.(in this case system error num is kept in errno)

(1) is Discovered by: jinmei@kame.net in KAME environment.
1999-12-28 05:37:39 +00:00
green
8b8214b6d3 Upgrade to the pam_ssh module, version 1.1..
(From the author:)
Primarily, I have added built-in functions for manipulating the
environment, so putenv() is no longer used.  XDM and its variants
should now work without modification.  Note that the new code uses
the macros in <sys/queue.h>.

Submitted by:	Andrew J. Korty <ajk@iu.edu>
1999-12-28 05:32:54 +00:00
jdp
363b7bd537 Work around an assert failure in the dynamic linker's default thread
locking functions.  If an application loads a shared object with
dlopen() and the shared object has an init function which requires
lazy binding, then _rtld_bind is called when the thread is already
inside the dynamic linker.  This leads to a recursive acquisition
of the lock, which I was not expecting -- hence the assert failure.

This work-around makes the default locking functions handle recursive
locking.  It is NOT the correct fix -- that should be implemented
at the generic locking level rather than in the default locking
functions.  I will implement the correct fix in a future commit.

Since the dllockinit() interface will likely need to change, warn
about that in both the man page and the header file.
1999-12-28 04:38:17 +00:00
shin
8c2ccb59ca Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
peter
070fb078b6 Tidy up some loose ends. nullfs_read/write were returning the wrong value.
Fix some ctype problems - isascii() caused a warning if fed an unsigned
char - it's always > 0 and libstand is compiled with -Wall.
Missing prototype/include in printf.c
1999-12-27 08:45:14 +00:00
peter
0e302599d7 Make this compile with -Wall -Werror 1999-12-27 08:40:40 +00:00
peter
047fa82dd0 Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling
and is module aware.  Yes, this means that kvm_nlist(3) will find symbols
in loaded modules.  The emulation of the nlist struct is pretty crude but
seems to work well enough for all the users in the tree that I found.
1999-12-27 07:14:58 +00:00
jdp
52ec4df9e8 Add a new function dllockinit() for registering thread locking
functions to be used by the dynamic linker.  This can be called by
threads packages at start-up time.  I will add the call to libc_r
soon.

Also add a default locking method that is used up until dllockinit()
is called.  The default method works by blocking SIGVTALRM, SIGPROF,
and SIGALRM in critical sections.  It is based on the observation
that most user-space threads packages implement thread preemption
with one of these signals (usually SIGVTALRM).

The dynamic linker has never been reentrant, but it became less
reentrant in revision 1.34 of "src/libexec/rtld-elf/rtld.c".
Starting with that revision, multiple threads each doing lazy
binding could interfere with each other.  The usual symptom was
that a symbol was falsely reported as undefined at start-up time.
It was rare but not unseen.  This commit fixes it.
1999-12-27 04:44:04 +00:00
jasone
15ffad75ec Creating weak symbols doesn't work correctly when building an aout libc.
Doing the "right thing" here is difficult, so create two ENTRY points for
each function (for example, __setjmp and setjmp are equivalent).  This
isn't pretty, but it works for both aout and ELF.

libc symbol naming needs an overhaul in order to properly support function
wrapping, specifically in the case of a real libpthread, and these
duplicate entry points should be fixed as part of that overhaul.

Pointed out by:	bde
1999-12-24 00:03:00 +00:00
bde
8a379ba272 Fixed missing #include in synopsis.
Fixed misspelling of VGLPanScreen in its prototype.
Fixed missing installation of link to VGLPanScreen.3.
1999-12-23 16:56:27 +00:00
bde
0e9e667b58 Fixed a formatting error in the prototype for crypt(). 1999-12-23 16:53:18 +00:00
bde
6e13854ccb Fixed bitrot in synopsis. The change from "int *pshared" to "int pshared"
hadn't reached here.
1999-12-23 16:51:27 +00:00
bde
1ab948f6cc Fixed wrong #include in synopsis. 1999-12-23 16:48:57 +00:00
bde
df20178dd3 Fixed missing `const' in synopsis. 1999-12-23 16:46:34 +00:00
bde
8f12d54525 Fixed missing includes in synopsis. 1999-12-23 16:38:51 +00:00
bde
4765c8aea8 Fixed missing installation of a link to ctermid_r.3. 1999-12-23 16:36:48 +00:00
bde
6c2d0e8c30 Fixed wrong prototype and missing include for strsignal(3). strsignal()
takes an int arg and is prototyped in <string.h>.  It has the opposite
interface botches to psignal(3) which takes a bogus unsigned arg but is
prototyped in the right place.

This is not the last of the interface problems for strsignal().  We
obtained it from NetBSD, but NetBSD has moved its prototype to
<unistd.h>.  strsignal() should return const char *, but it returns
char * for historical reasons.  NetBSD declares it as returning
__aconst char, where __aconst is normally empty but can be set to
`const' to give better error checking.  glibc-2.1.1 prototypes
strsignal() in <string.h>.
1999-12-23 16:29:58 +00:00
bde
a7653abdc4 Fixed missing installation of a link to getlogin_r.3. This is the first
example of section 2 and section 3 interfaces sharing a man page.  It's
probably a bad example.
1999-12-23 16:12:24 +00:00
bde
6b050d7244 Fixed missing installation of a link to rand_r.3. 1999-12-23 16:00:50 +00:00
peter
47c0955e5d Fix the fixfsfile() so that it works for both block and character devices
as root.  This could fix the "filesystem still dirty after fsck" problem.

Submitted by:   bde
1999-12-23 14:44:36 +00:00
phk
e396740391 Just on the off-chance that somebody might use libdisk in a totally
lobotomized environment, say booted from a floppy with no /etc full
of password and group files, give sensible fallbacks for roots uid
and operators gid.

This might fix sysinstall.
1999-12-22 19:06:29 +00:00
sheldonh
54243b8e7a Document the current behaviour with respect to the handling of errno.
Approved by:	phk
1999-12-22 17:04:46 +00:00
bde
5de8ef466a Aargh, the $FreeBSD$ check caused an inconsistent commit by rejecting
this makefile update which should have been together with the file
removal.

Removed vlimit.3 and vtimes.3.  Removed vlimit.c and vtimes.c from
the "MISSING" list.  These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.
1999-12-22 13:49:14 +00:00
bde
984286854c Removed vlimit.3 and vtimes.3. Removed vlimit.c and vtimes.c from
the "MISSING" list.  These were old variants of get/setrlimit() and
getrusage(), respectively, and were never implemented in FreeBSD.
vlimit.3 referred to <sys/vlimit.h> which was removed recently.
vtimes.3 referred to <sys/vtimes.h> which never existed in FreeBSD.
1999-12-22 12:24:25 +00:00
asmodai
70260fd3cb Fix a typo which I cannot believe I missed after rereading this text
about 6-7 times prior to commit.

Reported by: sheldonh
1999-12-21 11:55:44 +00:00
asmodai
fc6ea6bcd8 Properly manify this manpage.
Fix some spelling mistakes and typo's inspired by Nicholas' initial
PR submission.

PR:		docs/15597
Submitted by:	Nicholas Esborn <nick@flatlan.net>
1999-12-21 11:19:32 +00:00
roberto
6452b5bbe6 Fix a bug where a pointer would be one character too far after putting
a '\0' at the end of a string.

Submitted by:	Martin Birgmeier <Martin.Birgmeier@aon.at>
1999-12-21 10:17:36 +00:00
obrien
90b4d2da64 What was I smoking? Use the proper form of the library names. 1999-12-21 06:19:03 +00:00
julian
443430016e Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
obrien
b8abdf85ce Forgot a library. 1999-12-20 22:57:49 +00:00
obrien
970778c48f Add needed 3.x libraries from 3.4-RELEASE. 1999-12-20 22:57:12 +00:00
marcel
3ae4773224 Make sure curses.h is generated when making build-tools make_keys
and make_hash depend on it.
1999-12-20 10:37:55 +00:00
roberto
b7335626ed Rewriting of flags_to_string() and string_to_flags() to use an array.
PR:		bin/3648
Submitted by:	Martin Birgmeier <mbirg@austria.ds.philips.com>
1999-12-19 15:31:24 +00:00
peter
a80a848739 This commit was generated by cvs2svn to compensate for changes in r54820,
which included commits to RCS files with non-trunk default branches.
1999-12-19 14:14:37 +00:00
peter
3cf81c35ae Import fparseln(3) from NetBSD. It's used for easily dealing with \
escaped lines etc.  (used by mailwrapper)
1999-12-19 14:14:37 +00:00
obrien
e723c230ec Initialize a var to quiet -Wall. 1999-12-18 04:47:43 +00:00
green
74c1e8397d Switch over to the OpenBSD fts.c, fixing lots of things.
Obtained from:	OpenBSD
1999-12-18 04:36:14 +00:00
jasone
432d84cbec Fix some minor POSIX/SUSv2 compliance nits.
PR:		kern/11982
1999-12-18 01:00:42 +00:00
peter
81c8f9fa6d Make a dlopen failure consistant with dlsym(). "Shouldn't happen." 1999-12-17 20:21:45 +00:00
peter
3da8bcb7dc patch glitch 1999-12-17 20:19:28 +00:00
peter
1c7b33fb91 Remove -lmd. Use dlopen() and dlsym() instead for calls to the MD5* and
SHA* routines so that callers of libcrypt are not exposed to the internal
implementation.
1999-12-17 20:04:01 +00:00
phantom
37b2004d09 Back up following macros by functions: ishexnumber, isideogram, isnumber,
isphonogram, isrune, isspecial. Fix ordering.

Reviewed by: bde
1999-12-17 15:12:21 +00:00
phantom
47918de226 Fix typos
PR:		docs/14858
Submitted by:	OKAZAKI Tetsurou <okazaki@be.to>
1999-12-17 14:48:00 +00:00
deischen
b043dd936d Change to work with recent signal changes. The signal being handled is
now added to the signal mask; this test failed because it didn't allow
for this.
1999-12-17 11:46:55 +00:00
jkh
dd89aff001 Fix handling of trailing :'s to match what other OSes do (spit out
a diagnostis).

Submitted by:	Guy Harris <gharris@flashcom.net>
1999-12-17 01:52:15 +00:00
deischen
8456ca7311 Fix problems with cancellation while in critical regions.
o Cancellation flags were not getting properly set/cleared.
  o Loops waiting for internal locks were not being exited
    correctly by a cancelled thread.
  o Minor spelling (cancelation -> cancellation) and formatting
    corrections (missing tab).

Found by:	tg
Reviewed by:	jasone
1999-12-17 00:57:54 +00:00
deischen
17ee572a14 Fixes for signal handling:
o Don't call signal handlers with the signal handler access lock
    held.
  o Remove pending signals before calling signal handlers.  If
    pending signals were not removed prior to handling them,
    invocation of the handler could cause the handler to be
    called more than once for the same signal.  Found by: JB
  o When SIGCHLD arrives, wake up all threads in PS_WAIT_WAIT
    (wait4).

PR:		bin/15328
Reviewed by:	jasone
1999-12-17 00:56:36 +00:00
jasone
395027ca77 Avoid an infinite loop if the last element of the iov array passed to
writev() has an iov_len of 0.

PR:		bin/8281
1999-12-16 22:35:40 +00:00
shin
985fda16e7 KAME 4th patch
IPv6 specific library functions addition.
(getnameinfo(), getaddrinfo(), and IPv6 transport support is not yet)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-16 18:32:01 +00:00
cracauer
eda32af3b4 Document SA_SIGINFO
Reviewed by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-12-15 16:51:35 +00:00
jkh
19ab44d39b Catch up to the fact that block devices are toast.
Teach about the afd driver.
Teach new char dev for ad driver.
Make ownerships correct.

Submitted by:	jhb
1999-12-15 08:33:56 +00:00
jasone
2edcbc2e0b Make setjmp, longjmp, sigsetjmp, and siglongjmp weak aliases for
__setjmp, __longjmp, __sigsetjmp, and __siglongjmp, respectively.
This supports cancellation in the linuxthreads port.  In the long run,
a much more comprehensive solution will necessitate more dramatic changes
to libc symbol naming, and these aliases will probably need modification
at that time.
1999-12-14 20:17:52 +00:00
nik
6ef9746e27 Commented out
MAN8+= rstat_svc.8

The file it talks about doesn't exist on FreeBSD, so there's no point in
installing the manual page.  There was already a comment to this effect in
this file, but the entry hadn't been commented out.

rstat.1 and rstat_svc.8 can probably actually be removed.

PR:             docs/13767
Submitted by:   Seth <seth@freebie.dp.ny.frb.org>
1999-12-14 16:56:46 +00:00
billf
5b92abcf9d Remove x-ref to itself.
Reviewed by:	mpp
1999-12-14 11:34:47 +00:00
phantom
0cd874ce43 Correct "standard compilance" notes
Reminded by: bde
1999-12-14 10:35:09 +00:00
marcel
81282dc103 Add a `build-tools' target for make_hash and make_keys. 1999-12-13 21:25:08 +00:00
abial
008c554e69 Document VGLGetXY and VGLSetXY functions.
Reviewed by:	sos
1999-12-13 10:48:22 +00:00
dillon
b66fb2c648 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
madvise().

    This feature prevents the update daemon from gratuitously flushing
    dirty pages associated with a mapped file-backed region of memory.  The
    system pager will still page the memory as necessary and the VM system
    will still be fully coherent with the filesystem.  Modifications made
    by other means to the same area of memory, for example by write(), are
    unaffected.  The feature works on a page-granularity basis.

    MAP_NOSYNC allows one to use mmap() to share memory between processes
    without incuring any significant filesystem overhead, putting it in
    the same performance category as SysV Shared memory and anonymous memory.

Reviewed by: julian, alc, dg
1999-12-12 03:19:33 +00:00
peter
afa6f15fc7 While comparing this with OpenBSD (ie: trying to figure out what mkstemps()
is good for... :-)), I discovered that part of the change when mkstemps()
was brought in was missed - it was missing the termination case to make
sure it doesn't walk into the suffix.  This isn't the same code OpenBSD
has, I think this is a little better as we terminate the loop in a better
spot.
1999-12-11 14:48:24 +00:00
marcel
1d263c29d4 Install include files with mode 444. 1999-12-11 13:38:04 +00:00
archie
da5ff8ce2a Fix a '&&' that should have been a '&'.
Submitted by:	Erik Salander <erik@whistle.com>
1999-12-10 20:04:53 +00:00
archie
8f028897e2 Fix several typos.
Submitted by:	Erik Salander <erik@whistle.com>
1999-12-09 21:36:34 +00:00
sheldonh
785c739893 Remove discussion of %C in the BUGS section. The limitations on valid
centuries are much more serious than those mentioned and this is not the
place to discuss the limitations of time_t.
1999-12-09 07:58:28 +00:00
sheldonh
310ae47a90 Prevent digit-gobbling for all but %l and %e, which can't be fixed.
Discuss in the BUGS section of the manpage, problems involved with
the use of %C, %e, %l, %p, %U and %W.

PR:		13901
Reported by:	scott@chronis.pobox.com
1999-12-08 15:49:10 +00:00
sheldonh
da906acc18 Accept 12 for %l, because it's logical to expect "%l:%M" to work for
"12:00" and because strftime(3) does the same.
1999-12-08 11:11:40 +00:00
chris
ed204f848e Add a cross-reference to fabs(3) man page.
PR:		docs/15337
Submitted by:	Bruce A. Mah <bmah@ca.sandia.gov>
1999-12-07 23:09:58 +00:00
archie
d7553d3a9a Add reference to netgraph(4) in the 'see also' section. 1999-12-06 23:35:40 +00:00
kris
7edfaee15b Fix buffer overflows.
Reviewed by:	imp, audit@freebsd.org
1999-12-05 21:02:41 +00:00
deischen
7f8a2b1734 Make work for sigset_t change. Also modify tests to account for
recent changes to signal handling.
1999-12-05 00:48:53 +00:00
deischen
795e5a14ec Change signal handling to conform to POSIX specified semantics.
Before this change, a signal was delivered to each thread that
didn't have the signal masked.  Signals also improperly woke up
threads waiting on I/O.  With this change, signals are now
handled in the following way:

  o If a thread is waiting in a sigwait for the signal,
    then the thread is woken up.

  o If no threads are sigwait'ing on the signal and a
    thread is in a sigsuspend waiting for the signal,
    then the thread is woken up.

  o In the case that no threads are waiting or suspended
    on the signal, then the signal is delivered to the
    first thread we find that has the signal unmasked.

  o If no threads are waiting or suspended on the signal,
    and no threads have the signal unmasked, then the signal
    is added to the process wide pending signal set.  The
    signal will be delivered to the first thread that unmasks
    the signal.

If there is an installed signal handler, it is only invoked
if the chosen thread was not in a sigwait.

In the case that multiple threads are waiting or suspended
on a signal, or multiple threads have the signal unmasked,
we wake up/deliver the signal to the first thread we find.
The above rules still apply.

Reported by:	Scott Hess <scott@avantgo.com>
Reviewed by:	jb, jasone
1999-12-04 22:55:59 +00:00
green
06557349e2 Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
archie
26c759c431 Missed part of previous commit. 1999-12-03 23:15:33 +00:00
archie
32595af070 Recognize NGM_BPF_COOKIE. 1999-12-03 23:12:41 +00:00
sheldonh
8d21f19e4e Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
green
b879977360 Separate some common sysctl code into sysctl_find_oid() and calling
thereof.  Also, make the errno returns  _correct_, and add a new one
which is more appropriate.
1999-12-01 02:25:19 +00:00
ache
220fa35680 %Ex -> %Ef to not conflict with POSIX
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
1999-11-30 19:24:07 +00:00
ache
764544f79d Document %Ex and %OB 1999-11-30 18:37:36 +00:00
ache
6219664f07 Stricter checking %A vs %a 1999-11-30 08:11:13 +00:00
ache
228a52df6f Fix %C handling
Use locale for %c
Add %+
Add %Ex and %OB
1999-11-30 08:05:09 +00:00
ache
f72436c9ac Add %Ex extension to determine "%e %b" or "%b %e" order
Separate alternative for O and E cases
1999-11-30 07:33:37 +00:00
peter
8e520b90cb Turn libbind back on, it should be ok now. 1999-11-30 06:13:10 +00:00
peter
090e2faa81 EEK! termios mode wasn't activated..
Noticed by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-11-30 05:56:12 +00:00
peter
d9072a44c5 Build more components to get named to build. 1999-11-30 04:40:54 +00:00
peter
00616cc316 oops, forgot to disconnect libbind while it's broken. 1999-11-30 04:22:25 +00:00
peter
ed6bdd2977 Update for Bind 8.2.2.p5 1999-11-30 04:20:05 +00:00
archie
81fceb37a9 Add two new generic control messages, NGM_ASCII2BINARY and
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.

This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.

Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.

See /usr/share/examples/netgraph/ngctl for an example of using this.

Also give ngctl(8) the ability to print out incoming data and
control messages at any time.  Eventually nghook(8) may be subsumed.

Several other misc. bug fixes.

Reviewed by:	julian
1999-11-30 02:45:32 +00:00
phk
9809b71a89 Report swapdevices as cdevs rather than bdevs.
Remove unused dev2budev() function.
1999-11-29 21:37:18 +00:00
alfred
f7d7085dbe style fixes, remove extra braces.
readdir_r is not POSIX according to POSIX_SOURCE, bruce says:
> readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990
> function.  It's POSIX.1-1996 so it should be under a different feature
> test which we don't support yet.

make sure errno is saved so that its contents are cleared unless
necessary.

Submitted by: bde
1999-11-29 19:12:50 +00:00
green
bcc4466e40 Add the PAM SSH RSA key authentication module. For example, you can add,
"login  auth    sufficient      pam_ssh.so" to your /etc/pam.conf, and
users with a ~/.ssh/identity can login(1) with their SSH key :)

PR:		15158
Submitted by:	Andrew J. Korty <ajk@waterspout.com>
Reviewed by:	obrien
1999-11-29 07:09:44 +00:00
wes
34470507ed Provide a man page for Alfreds lovely readdir_r function. Also
fixed a minor indentation nit and added a few {}s to make readdir_r
easier on old eyes.
1999-11-29 06:12:22 +00:00
wes
6c73ef33e3 Provide and document ctermid_r function. 1999-11-28 23:28:49 +00:00
wes
7cf3e9fa26 Document the getlogin_r function. 1999-11-28 22:41:50 +00:00
wes
6ed770d488 Provide the getlogin_r function. 1999-11-28 22:41:38 +00:00
dfr
40f75646e1 * Fix the stack allocation code so that it works for alpha. Change it
to use mmap(..., MAP_STACK, ...) on alpha too since that should work
  now.
* Add hooks to allow GDB to access the internals of pthreads without
  having to know the exact layout of struct pthread.

Reviewed by: deischen
1999-11-28 19:47:43 +00:00
alfred
e7efcb5302 add pthread_cancel, obtained from OpenBSD.
eischen (Daniel Eischen) added wrappers to protect against cancled
threads orphaning internal resources.

the cancelability code is still a bit fuzzy but works for test
programs of my own, OpenBSD's and some examples from ORA's books.

add readdir_r to both libc and libc_r

add some 'const' attributes to function parameters

Reviewed by: eischen, jasone
1999-11-28 05:38:13 +00:00
msmith
517fd10f04 Remove 'sd' support. SCSI disks are known as 'da' these days. 1999-11-27 21:20:57 +00:00
phk
ba79ac5ee3 Remove BAD144 support 1999-11-27 14:33:30 +00:00
peter
e9a637e9c9 To avoid confusion, zap libtermcap. ncurses provides both curses, termcap
and termlib (terminfo) support.
1999-11-26 09:33:02 +00:00
peter
434ff9c85c To avoid confusion, zap libcurses. ncurses provides both curses, termcap
and termlib (terminfo) support.
1999-11-26 09:28:33 +00:00
phk
2431275ac4 General clean-up of socket.h and associated sources to synchronise up
with NetBSD and the Single Unix Specification v2.

This updates some structures with other, almost equivalent types and
effort is under way to get the whole more consistent.

Also removes a double definition of INET6 and some other clean-ups.

Reviewed by: green, bde, phk
Some part obtained from: NetBSD, SUSv2 specification
1999-11-24 20:49:04 +00:00
peter
89bff97f82 longjumperror() and abort() don't exist in libstand.. Don't test
for a condition we can't handle (like the x86 longjmp).  This was
highlighted by attempting to build FICL into the alpha loader.
1999-11-24 13:54:46 +00:00
peter
48603c7746 Ensure libmytinfo stays dead.. I originally left it here so that we might
be able to build the old shared versions rather than taking a binary for
the compat area, but that seems to have caused confusion.
1999-11-24 12:34:28 +00:00
eivind
ba4a0df540 Allow empty UIDs if we are processing NIS records. I am not entirely
happy with how this end up and will re-visit the entire empty field
problem, but this patch solves the NIS problem for now.

Submitted by:	Dan Nelson <dan@emsphone.com>
PR:	14865,14984
1999-11-22 12:42:38 +00:00
dt
0cfd9aa083 Make __sfp() even more thread-safe. 1999-11-21 22:34:57 +00:00
dt
75d26bf574 Add (FILE *) locking. 1999-11-20 14:52:03 +00:00
dt
669c69aa24 Make __sfp() (FILE allocator) thread-safe: added locking like in malloc(). 1999-11-20 14:01:48 +00:00
obrien
1101d9eaab Fix HISTORY - the copyright header on the file of the GCC version was
misleading.

Submitted by:	Theo de Raadt <deraadt@cvs.openbsd.org>
1999-11-20 00:15:17 +00:00
obrien
e51eae98ed Add to the HISTORY. 1999-11-19 17:13:31 +00:00
roberto
01553f893e The "acfcomp" field is not in the structure anymore. There may be a better
way to do that but it fixes buildworld.

World broken by: archie :-)
1999-11-19 10:51:16 +00:00
jdp
1cd372d24f For the TCP transport, put the listening socket in non-blocking
mode.  This addresses a well-known race condition that can cause
servers to hang in accept().  The relevant case is when somebody
connects to the server and then immediately kills the connection
by sending a TCP reset.  On the server this causes select to report
a ready condition on the socket, after which the accept call blocks
because there is no longer any pending connection to accept.

In -current there is already a work-around for this in the kernel.
It was merged into -stable some time ago, but then David Greenman
reverted it because it seemed to be causing a socket leak in some
cases.  (See uipc_socket.c revision 1.51.2.3.)  Hence this userland
fix is needed in -stable, and I plan to merge it into that branch
soon because it fixes a potential DoS attack.  It may also be needed
in -current if the suspected socket leak turns out to be real.  In
any case, after thinking it over I believe the fix belongs in
userland.  An application shouldn't assume that a ready return from
select guarantees that the subsequent I/O operation cannot block.
A lot can happen between the select and the accept.

A similar fix should most likely be applied to the Unix domain
socket transport too.

Submitted by:	peter
Reviewed by:	jdp
1999-11-18 03:01:06 +00:00
brian
a6dfb66b8f Make setproctitle(NULL) restore all of the original arguments
(if it's able).
1999-11-17 21:12:17 +00:00
jdp
3776d08208 Fix a bug in the hack that protects against FTP bounce attacks.
It used to loop back up to the accept() call and block there,
shutting out all other transports until a new connection came in.
Now it returns instead after dropping the connection.  That will
take it back to the select() loop where all transports can be
serviced.  I intend to MFC this within a day or two since it
fixes a DoS vulnerability.
1999-11-17 01:54:17 +00:00
peter
0c3ce35c8e Don't complain loudly about unknown termcap capabilities, eg:
{vladivostok:/usr/home/ken:1:0} echo |more
"TERMCAP", line 0, col 60, terminal 'screen': unknown capability 'G0'
"TERMCAP", line 0, col 806, terminal 'screen': unknown capability 'AX'

Submitted by:	Kenneth D. Merry <ken@kdm.org>
1999-11-17 01:01:02 +00:00
phk
cc6b664e2e Introduce commandline caching in the kernel.
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.

To disable this facility and revert to previous behaviour:
        sysctl -w kern.ps_arg_cache_limit=0

For full details see the current@FreeBSD.org mail-archives.
1999-11-16 20:31:58 +00:00
sheldonh
c973e062a1 Add to pwd_mkdb a -q option to silence warnings about large IDs. Add a
suitably ominous warning in the manual page.

The diff applied is not the one provided in the attributed PR.

PR:		13344
Reviewed by:	bde
1999-11-15 16:45:37 +00:00
kris
a2292a1c57 fts_pathlen and fts_namelen are u_short, not short
Obtained from:	OpenBSD
1999-11-15 03:29:19 +00:00
kris
3853bec4b5 Typo
Obtained from:	OpenBSD
1999-11-15 03:13:23 +00:00
chris
6b4352eb7f Properly document what ENOENT really means for kldfind(2). 1999-11-14 18:15:33 +00:00
marcel
83affd600f Don't include Kerberos if NOCRYPT is defined, because it isn't build
if NOCRYPT is defined. Likewise, don't include DES if NOSECURE is
defined.
1999-11-14 15:48:29 +00:00
marcel
17ed6e05da ${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
	sys/boot/Makefile
	sys/boot/arc/loader/Makefile
	sys/kern/Makefile
	usr.bin/cpp/Makefile
	usr.bin/gcore/Makefile
	usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
	fixed typo: MACHINDE -> MACHINE_ARCH
1999-11-14 13:54:44 +00:00
peter
70fc0d318e Go to a bit more trouble to make it absolutely clear that malloc(3)
does not zero the allocated memory.
1999-11-12 16:41:21 +00:00
peter
845b7f9427 Repo copy ncp_cfg.h ncp_lib.h ncp_file.h ncp_rcfile.h from here to
sys/netncp/*.  Disconnect them from here to avoid breakage.

Submitted by:	 bp
1999-11-12 15:09:58 +00:00
sheldonh
6f243c5ca7 Decremement by 1 the value taken for %j before assigning it to tm_yday,
which is zero-based.

Correct the range checking for the value taken for %S.

Add %w for the day of the week (0-6).

Accept (but do nothing with) %U and %W.  The comment for this change was
taken from NetBSD.

These changes were made after several failed attempts to contact the
author of our strptime.c .

PR:		10131
Submitted by:	tadf@kt.rim.or.jp (Tadayoshi Funaba)
1999-11-10 14:40:59 +00:00
yokota
6575a957bc Fix the VGLBITMAP_INITIALIZER macro; VXsize and VYsize should
be the same as Xsize and Ysize.
1999-11-09 12:11:24 +00:00
ache
1c9f0625c8 Fix dead loop if locale contains / and not all categories specified
PR:		14742
Submitted by:	peter@wahoo.com.tw
1999-11-09 11:09:16 +00:00
phantom
29048c9e3c Remove useless section.
PR:		docs/14764
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
1999-11-09 00:28:34 +00:00
phantom
81a319a02c Restore sub-chapters order.
PR:		docs/14766
Submitted by:	Kazutoshi Kubota <kazu@iworks.co.jp>
1999-11-09 00:24:09 +00:00
phantom
757fba0a6b style fix
PR:		docs/14737
Submitted by:	Norihiro Kumagai <kuma@nk.rim.or.jp>
1999-11-09 00:18:22 +00:00
yokota
5b90185d7f - This is the new version of libvgl jointly developed by sos and I.
It adds new functions and extend some structures and can handle
  VESA modes.
- Update the man page.
- Bump the library version number.

(The old version will be added to compat3x.)
1999-11-08 11:37:46 +00:00
eivind
3729f7b2f6 Flag empty UID entries as errors (to stop typos from turning into
alternate root accounts).
1999-11-06 20:21:04 +00:00
jkoshy
df1840f5b6 Link manual page for login_getpwclass(3) to login_cap(3).
PR:             docs/14673
Submitted by:   Andrew <andrew@ugh.net.au>
1999-11-04 08:33:18 +00:00
ache
049d579611 Add unsigned char cast to isalpha 1999-11-04 05:01:28 +00:00
ache
cf9ff6546c Add unsigned char cast to isdigit 1999-11-04 04:57:05 +00:00
ache
7cff08527c Add unsigned char cast to is[x]digit 1999-11-04 04:52:34 +00:00
ache
fd2f05f5b2 Add unsigned char cast to isdigit 1999-11-04 04:46:18 +00:00
ache
2e8706cc03 Add unsigned char cast to isupper 1999-11-04 04:40:56 +00:00
ache
dc0dd57e24 unsigned char cast to ctype macros 1999-11-04 04:35:33 +00:00
ache
96b246d3bd Add unsigned char cast to ctype macros arg 1999-11-04 04:30:44 +00:00
ache
0284c44519 Add unsigned char cast to isspace arg 1999-11-04 04:16:28 +00:00
green
972efa99ba Fix a really lame buglet which broke with IPs of 34
(ERANGE...)
1999-11-03 04:18:34 +00:00
bp
9352858d9b Change structure field tolower to to_lower. The same for the toupper. 1999-11-03 03:17:31 +00:00
joerg
1da0b22e43 It is no longer necessary to prepend underscores to external symbols under
ELF.

Submitted by:	A.Leidinger@WJPServer.CS.Uni-SB.de (Alexander Leidinger)
1999-11-02 18:18:26 +00:00
msmith
9747814286 Teach libdisk about the AMI and Mylex RAID drivers. You should be able
to install directly to arrays managed by these controllers now.
1999-11-02 03:40:14 +00:00
nik
6fc7a68ebf Document that bind(2) can fail with EAGAIN.
PR:             docs/14173 docs/14181
Submitted by:   Charles Randall <crandall@matchlogic.com>
Submitted by:   Kelly Yancey <kbyanc@posi.net>
1999-11-01 19:43:07 +00:00
jdp
f6dc1d4206 Add support for RADIUS accounting. Note, this changes the format
of the /etc/radius.conf file.   But the code contains hacks for
backward compatibility, so old files will continue to work.

I updated the man pages and made a couple of minor changes, but
everything else was submitted by Oleg.

PR:		misc/14284
Submitted by:	Oleg Semyonov <os@altavista.net>
1999-10-31 04:47:59 +00:00
green
3514435a4c Allow whitespace termination. Internal use of /etc/resolv.conf relies
on this, and who knows what else would, too...
1999-10-31 04:43:55 +00:00
green
5e58dc63ee This is the new inet_addr/inet_aton with proper error checking. This
should close all outstanding PRs on incorrect inet_aton behavior, and
since it has a decent parsing routine, doesn't allow some hysterically
working behavior.

PR:		13628
Submitted by:	Adrian Chadd <adrian@FreeBSD.org>
1999-10-31 04:07:56 +00:00
bp
c763e1b076 Add support for C++ in the headers. Some style cleanup.
Pointed by:	bde
1999-10-31 03:39:03 +00:00
mpp
b1b027cee1 Minor mdoc cleanup. 1999-10-30 19:29:45 +00:00
phantom
a17fafc521 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
obrien
bd0d380ff0 Add HISTORY. 1999-10-29 16:50:22 +00:00
bp
61d5a0b6ee Handle SAP responces in a more correct way. Allow connection number
greater than 255 in the broadcast messages.
1999-10-29 12:59:59 +00:00
peter
b0a7d57232 Add $FreeBSD$ - not that it makes much difference, but this is mainly meant
to try and persuade folks that it *is* possible to add comments/text/etc
to uuencoded files and so they don't keep asking me about it.
1999-10-29 01:20:50 +00:00
phantom
c89bdb350c Complete page reorganization. I have splited FUNCTIONS section into
two subsections: SINOPSIS (declarations) and DESCRIPTION (descriptions)
All functions now mentioned in NAME section (apropos capable manpage :)
Various mdoc fixe
1999-10-28 15:51:50 +00:00
phantom
6f948b9645 fix couple mdoc error
mention library name in header (.Nd field) - it allows to use "man -k libdisk"
1999-10-28 15:42:48 +00:00
obrien
ff295fd857 "S" comes before "U"...
Alphabet taught to Green by:	obrien
1999-10-25 03:51:01 +00:00
ache
490fc835e8 Remove UNSAFE_WARN ifdef for mktemp warning (never defined)
Use _mktemp internally
1999-10-24 11:57:24 +00:00