summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* "S" comes before "U"...obrien1999-10-251-2/+2
| | | | Alphabet taught to Green by: obrien
* Remove UNSAFE_WARN ifdef for mktemp warning (never defined)ache1999-10-243-6/+6
| | | | Use _mktemp internally
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-218-2/+1237
| | | | | | | | | | Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
* Use ${INSTALL} instead of 'install'.bp1999-10-211-1/+1
|
* Fix termcap % code processing for some terminals.tg1999-10-201-3/+4
| | | | | Submitted by: Ross Ridge <ross@zooid.guild.org> via buster@lambda.hh.provi.de (Andreas Burmester)
* YP/NIS code: remove unnecessary endgrent() calls which can cause fail onache1999-10-161-5/+3
| | | | | | next try over chroot (descriptor closed). getgrnam() used already handles endgrent() properly and honors _gr_stayopen. Automatically call setgroupent(1) when _pw_stayopen is set (for YP/NIS code).
* Fix longstanding bug "unused stayopen" introduced in rev1.11ache1999-10-161-2/+6
| | | | PR: 14201
* Add sigsuspend.o and sigpending.o to HIDDEN_SYSCALLS as well.marcel1999-10-143-6/+6
| | | | Pointed out by: jdp
* Remove osig* from NOASM. It bogus now.marcel1999-10-142-4/+2
|
* Make libncp actually compiled.bp1999-10-141-2/+3
| | | | Reviewed by: mdodd
* In longjmp, call sigreturn instead of osigreturn. The latter isn'tjdp1999-10-141-1/+1
| | | | | | visible from userland any more. Reviewed by: luoqi
* Initial import of ncp library sources.bp1999-10-1222-0/+4487
| | | | Reviewed by: jdp, mdodd
* Not needed now the syscall matches the prototype.marcel1999-10-123-117/+0
|
* Delete the sf (swapfile) arg to an internal function that used to point topeter1999-10-111-6/+8
| | | | | /dev/drum but has not been used for a LONG time. Add $FreeBSD$
* \begin{quote}marcel1999-10-102-2/+2
| | | | | | | | | | | setjmp() gets the jmp_buf pointer from the wrong place (the place where the return address is) in the shlib case, and uses it (only) to fetch the current signal mask to address (return_address + 28). This address is normally read-only (I hope), so the sigprocmask() call has no effect except to return an error code. \end{quote} Submitted by: bde
* This implements the RLIMIT_SBSIZE ("sbsize") administrative limits forgreen1999-10-092-0/+2
| | | | | userland. Currently, it can be enforced by login and csh. More shells supporting sbsize are welcome.
* Remove syscall wrappers.marcel1999-10-095-192/+4
|
* Remove old sig* wrappers.dfr1999-10-091-2/+1
|
* Hard-configure z_off_t as long. Soft configuration using HAVE_UNISTD_Hbde1999-10-091-4/+6
| | | | | | | | | | | | | | | | | just breaks the prototypes for gzseek() and gztell() when an application defines HAVE_UNISTD_H before including <zlib.h>. z_off_t was always long for compiling zlib, but was sometimes off_t for compiling applications, e.g., Ethereal 0.7.5. This "fix" preserves bug for bug binary compatibility. z_off_t should be off_t for everything, but zlib doesn't support off_t being longer than long, so using the correct type without fixing zlib's internals would at best break binary compatibility. This "fix" also make the namespace problems for HAVE_UNISTD_H no worse than hundreds of other namespace prooblems in zconf.h. I'll wait for a new release of zlib for proper fixes. Reported by: Guy Harris via jkh
* Correct the description of the timeout argument. I've examinedwes1999-10-091-0/+10
| | | | | | | | the code, which seems to implement the POSIX requirements, and have described the behavior here. Basically, it behaves the same as select(2). Noticed by: John Polstra
* Fix sigvec(). When the sigset_t changes came in, it was alteredjdp1999-10-091-6/+17
| | | | | | | | | to call osigaction(). But that's wrong because it causes the handler to receive a struct osigcontext instead of the expected struct sigcontext. Use sigaction() instead, copying the compatible portion of the signal mask. Reviewed by: marcel
* Allow for another telnet in secure (SRA telnet).markm1999-10-071-1/+2
| | | | Submitted by: Nick Sayer
* Install <kvm.h> from here (after repo copy) so it's all in one package.peter1999-10-041-0/+5
|
* Fix style bugsmarcel1999-10-031-4/+2
| | | | Submitted by: bde
* Fix style bugs and orderingmarcel1999-10-031-7/+5
| | | | Submitted by: bde
* o Add $FreeBSD$ as a rcsid instead of in a commentmarcel1999-10-021-31/+28
| | | | | | | o Remove bitrotted #undef directives o Actually set errno now and order the functions Submitted by: bde
* o Add $FreeBSD$ as a rcsid instead of in a comment.marcel1999-10-021-5/+12
| | | | | | | o Fix formatting o Return the error if sigprocmask fails instead of undefined data. Submitted by: bde
* Add libcrypt. This previously/coincidentally worked for login,markm1999-09-301-2/+2
| | | | | because login was already linked against it, but others have a problem.
* Add sigprocmask to HIDDEN_SYSCALLS. This renames the syscall tomarcel1999-09-303-3/+6
| | | | | | _thread_sys_sisprocmask in libc_r. This solves the undefined symbol... Reported by: Kenneth Wayne Culver
* Add the proper headers so that the SIGNOTEMPTY and SIGSETANDmarcel1999-09-303-0/+6
| | | | macros are defined.
* Fix misspelling of the "addq" opcode.jdp1999-09-291-1/+1
|
* sigset_t change (part 5 of 5)marcel1999-09-2939-143/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* Back out my backout, it was already posix compliant. Any new fields arepeter1999-09-281-1/+0
| | | | | | required to be "announced" by a new bit in sa_flags to indicate the program is aware of and has taken care of them. eg: SA_SIGINFO means the program has used the sa_siginfo field (versus sa_handler).
* Fix previous commit. The standards specifically say: "The structurepeter1999-09-281-0/+1
| | | | | | | | | sigaction, used to describe an action to be taken, is defined in the header <signal.h> to include at least the following members:" ^^^^^^^^ A sigaction defined on stack with essentially random contents may have just about anything underneath fields that the program doesn't know about. It is not safe to delete the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | | | initialization of sa_flags added so that we can lose the bzero. IIRC, this code is not used anymore since the addition of ncurses. Commit the change anyway so, just to be safe. $FreeBSD$ tag added
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-2/+7
| | | | | | initialization of sa_flags added so that the 'struct sigaction' can be declared local in both functions that use the global (static) declaration. Remove the global declaration.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+2
| | | | initialization of sa_flags allows us to lose the bzero.
* Explicitly use sigemptyset to clear a sigset_t. Explicitmarcel1999-09-281-1/+4
| | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added.
* Xref strlcat, strlcpyimp1999-09-282-2/+5
| | | | Inspired by: NetBSD commit message describing this.
* Properly handle the case when either the aliasing or source address ofru1999-09-271-26/+66
| | | | | | | | | | | | | the link are equal to the default aliasing address. Do not zero them! This will fix the problem with non-working links added with the source and/or aliasing address equal to the default aliasing address, but the default aliasing address is set later, after the link has been set up, like both natd(8) and ppp(8) do (for objective reasons). Reviewed by: Brian Somers <brian@FreeBSD.org>, Eivind Eklund <eivind@FreeBSD.org>, Charles Mott <cmott@srv.net>
* Try and catch a make -j problem in 'make depend'.peter1999-09-262-0/+4
| | | | Tested by: Dirk-Willem van Gulik <dirkx@va-179.skylink.it>
* Change .Fn to .Xr on a couple of lines where abort(3) is referenced.chris1999-09-251-2/+2
|
* mdoc(7)'fyphantom1999-09-231-5/+6
|
* Nuke dlopen.3 -> dlversion.3 link.phantom1999-09-231-2/+1
| | | | | | This function was removed by jdp in rev.1.5 of dlopen.3 Forgoten by: jdp
* Clarify what getdevs() expects as input.ken1999-09-231-2/+9
| | | | Prompted by: grog
* Add gencat(1) to SEE ALSO section.phantom1999-09-223-0/+3
| | | | | PR: docs/13658 Submitted by: Zahemszky Gabor <zgabor@code.hu>
* Add links for errc.3, verrc.3, warnc.3, vwarnc.3.phantom1999-09-221-2/+3
| | | | | PR: docs/13222 Submitted by: Ben Smithurst <ben@scientia.demos.co.uk>
* ReLink() partial links in FindLinkOut() in the same manner as we do itru1999-09-221-7/+15
| | | | | | in FindLinkIn(). This will make TcpMonitorIn()/TcpMonitorOut() happy. Reviewed by: eivind
* If `who' was not specified, set the appropriate bits as the chmod(1)ru1999-09-221-2/+6
| | | | | | manual page states. `chmod +s foo' and `chmod +t foodir' now work. PR: 13889
* Never return NULL, always return a hash.markm1999-09-221-1/+1
| | | | Submitted by: dt
OpenPOWER on IntegriCloud