summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.Julian Elischer1999-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 Notes: svn path=/head/; revision=52419
* Use ${INSTALL} instead of 'install'.Boris Popov1999-10-211-1/+1
| | | | Notes: svn path=/head/; revision=52414
* Fix termcap % code processing for some terminals.Thomas Gellekum1999-10-201-3/+4
| | | | | | | | Submitted by: Ross Ridge <ross@zooid.guild.org> via buster@lambda.hh.provi.de (Andreas Burmester) Notes: svn path=/head/; revision=52405
* YP/NIS code: remove unnecessary endgrent() calls which can cause fail onAndrey A. Chernov1999-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). Notes: svn path=/head/; revision=52310
* Fix longstanding bug "unused stayopen" introduced in rev1.11Andrey A. Chernov1999-10-161-2/+6
| | | | | | | PR: 14201 Notes: svn path=/head/; revision=52306
* Add sigsuspend.o and sigpending.o to HIDDEN_SYSCALLS as well.Marcel Moolenaar1999-10-143-6/+6
| | | | | | | Pointed out by: jdp Notes: svn path=/head/; revision=52233
* Remove osig* from NOASM. It bogus now.Marcel Moolenaar1999-10-142-4/+2
| | | | Notes: svn path=/head/; revision=52232
* Make libncp actually compiled.Boris Popov1999-10-141-2/+3
| | | | | | | Reviewed by: mdodd Notes: svn path=/head/; revision=52228
* In longjmp, call sigreturn instead of osigreturn. The latter isn'tJohn Polstra1999-10-141-1/+1
| | | | | | | | | visible from userland any more. Reviewed by: luoqi Notes: svn path=/head/; revision=52224
* Initial import of ncp library sources.Boris Popov1999-10-1222-0/+4487
| | | | | | | Reviewed by: jdp, mdodd Notes: svn path=/head/; revision=52153
* Not needed now the syscall matches the prototype.Marcel Moolenaar1999-10-123-117/+0
| | | | Notes: svn path=/head/; revision=52151
* Delete the sf (swapfile) arg to an internal function that used to point toPeter Wemm1999-10-111-6/+8
| | | | | | | | /dev/drum but has not been used for a LONG time. Add $FreeBSD$ Notes: svn path=/head/; revision=52117
* \begin{quote}Marcel Moolenaar1999-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 Notes: svn path=/head/; revision=52083
* This implements the RLIMIT_SBSIZE ("sbsize") administrative limits forBrian Feldman1999-10-092-0/+2
| | | | | | | | userland. Currently, it can be enforced by login and csh. More shells supporting sbsize are welcome. Notes: svn path=/head/; revision=52071
* Remove syscall wrappers.Marcel Moolenaar1999-10-095-192/+4
| | | | Notes: svn path=/head/; revision=52062
* Remove old sig* wrappers.Doug Rabson1999-10-091-2/+1
| | | | Notes: svn path=/head/; revision=52056
* Hard-configure z_off_t as long. Soft configuration using HAVE_UNISTD_HBruce Evans1999-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 Notes: svn path=/head/; revision=52054
* Correct the description of the timeout argument. I've examinedWes Peters1999-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 Notes: svn path=/head/; revision=52041
* Fix sigvec(). When the sigset_t changes came in, it was alteredJohn Polstra1999-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 Notes: svn path=/head/; revision=52040
* Allow for another telnet in secure (SRA telnet).Mark Murray1999-10-071-1/+2
| | | | | | | Submitted by: Nick Sayer Notes: svn path=/head/; revision=51994
* Install <kvm.h> from here (after repo copy) so it's all in one package.Peter Wemm1999-10-041-0/+5
| | | | Notes: svn path=/head/; revision=51933
* Fix style bugsMarcel Moolenaar1999-10-031-4/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51904
* Fix style bugs and orderingMarcel Moolenaar1999-10-031-7/+5
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51903
* o Add $FreeBSD$ as a rcsid instead of in a commentMarcel Moolenaar1999-10-021-31/+28
| | | | | | | | | | o Remove bitrotted #undef directives o Actually set errno now and order the functions Submitted by: bde Notes: svn path=/head/; revision=51872
* o Add $FreeBSD$ as a rcsid instead of in a comment.Marcel Moolenaar1999-10-021-5/+12
| | | | | | | | | | o Fix formatting o Return the error if sigprocmask fails instead of undefined data. Submitted by: bde Notes: svn path=/head/; revision=51870
* Add libcrypt. This previously/coincidentally worked for login,Mark Murray1999-09-301-2/+2
| | | | | | | | because login was already linked against it, but others have a problem. Notes: svn path=/head/; revision=51820
* Add sigprocmask to HIDDEN_SYSCALLS. This renames the syscall toMarcel Moolenaar1999-09-303-3/+6
| | | | | | | | | _thread_sys_sisprocmask in libc_r. This solves the undefined symbol... Reported by: Kenneth Wayne Culver Notes: svn path=/head/; revision=51818
* Add the proper headers so that the SIGNOTEMPTY and SIGSETANDMarcel Moolenaar1999-09-303-0/+6
| | | | | | | macros are defined. Notes: svn path=/head/; revision=51816
* Fix misspelling of the "addq" opcode.John Polstra1999-09-291-1/+1
| | | | Notes: svn path=/head/; revision=51802
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-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. Notes: svn path=/head/; revision=51794
* Back out my backout, it was already posix compliant. Any new fields arePeter Wemm1999-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). Notes: svn path=/head/; revision=51764
* Fix previous commit. The standards specifically say: "The structurePeter Wemm1999-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. Notes: svn path=/head/; revision=51762
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-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 Notes: svn path=/head/; revision=51761
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-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. Notes: svn path=/head/; revision=51760
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-1/+2
| | | | | | | initialization of sa_flags allows us to lose the bzero. Notes: svn path=/head/; revision=51759
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-1/+4
| | | | | | | | | initialization of sa_flags allows us to lose the bzero. $FreeBSD$ tag added. Notes: svn path=/head/; revision=51758
* Xref strlcat, strlcpyWarner Losh1999-09-282-2/+5
| | | | | | | Inspired by: NetBSD commit message describing this. Notes: svn path=/head/; revision=51743
* Properly handle the case when either the aliasing or source address ofRuslan Ermilov1999-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> Notes: svn path=/head/; revision=51727
* Try and catch a make -j problem in 'make depend'.Peter Wemm1999-09-262-0/+4
| | | | | | | Tested by: Dirk-Willem van Gulik <dirkx@va-179.skylink.it> Notes: svn path=/head/; revision=51687
* Change .Fn to .Xr on a couple of lines where abort(3) is referenced.Chris Costello1999-09-251-2/+2
| | | | Notes: svn path=/head/; revision=51667
* mdoc(7)'fyAlexey Zelkin1999-09-231-5/+6
| | | | Notes: svn path=/head/; revision=51610
* Nuke dlopen.3 -> dlversion.3 link.Alexey Zelkin1999-09-231-2/+1
| | | | | | | | | This function was removed by jdp in rev.1.5 of dlopen.3 Forgoten by: jdp Notes: svn path=/head/; revision=51605
* Clarify what getdevs() expects as input.Kenneth D. Merry1999-09-231-2/+9
| | | | | | | Prompted by: grog Notes: svn path=/head/; revision=51598
* Add gencat(1) to SEE ALSO section.Alexey Zelkin1999-09-223-0/+3
| | | | | | | | PR: docs/13658 Submitted by: Zahemszky Gabor <zgabor@code.hu> Notes: svn path=/head/; revision=51577
* Add links for errc.3, verrc.3, warnc.3, vwarnc.3.Alexey Zelkin1999-09-221-2/+3
| | | | | | | | PR: docs/13222 Submitted by: Ben Smithurst <ben@scientia.demos.co.uk> Notes: svn path=/head/; revision=51571
* ReLink() partial links in FindLinkOut() in the same manner as we do itRuslan Ermilov1999-09-221-7/+15
| | | | | | | | | in FindLinkIn(). This will make TcpMonitorIn()/TcpMonitorOut() happy. Reviewed by: eivind Notes: svn path=/head/; revision=51550
* If `who' was not specified, set the appropriate bits as the chmod(1)Ruslan Ermilov1999-09-221-2/+6
| | | | | | | | | manual page states. `chmod +s foo' and `chmod +t foodir' now work. PR: 13889 Notes: svn path=/head/; revision=51549
* Never return NULL, always return a hash.Mark Murray1999-09-221-1/+1
| | | | | | | Submitted by: dt Notes: svn path=/head/; revision=51538
* mdoc(7)'fyAlexey Zelkin1999-09-219-25/+29
| | | | | | | Reviewed by: mpp Notes: svn path=/head/; revision=51518
* Synchronization of NAME and SINOPSYS sections.Alexey Zelkin1999-09-211-3/+11
| | | | | | | mdoc(7)'fy Notes: svn path=/head/; revision=51515