summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* #include <sys/disklabel.h> to get BBSIZE.Poul-Henning Kamp2002-05-121-0/+1
| | | | Notes: svn path=/head/; revision=96477
* Retire the bogus uses of the disklabel field d_sbsize and begin toPoul-Henning Kamp2002-05-122-4/+2
| | | | | | | | | | initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96475
* Revert the last change. The corresponding bsd.lib.mk changes wereRuslan Ermilov2002-05-126-6/+25
| | | | | | | already backed out. Notes: svn path=/head/; revision=96463
* Added new bsd.incs.mk which handles installing of header filesRuslan Ermilov2002-05-1210-62/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow. Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1): kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile Replaced all `beforeinstall' targets for installing includes with the INCS stuff. Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE. Consistently use INCLUDEDIR instead of /usr/include. gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff. These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release". Notes: svn path=/head/; revision=96462
* Add a prototype for rad_get_vendor_attr().Brian Somers2002-05-121-8/+6
| | | | | | | Forgotten by: brian Notes: svn path=/head/; revision=96445
* Don't declare krb5_mcc_ops, it's already declared in <krb5.h>Dag-Erling Smørgrav2002-05-121-2/+0
| | | | Notes: svn path=/head/; revision=96444
* s/demon/daemon/Dima Dorfman2002-05-121-1/+1
| | | | Notes: svn path=/head/; revision=96432
* Document that <netinet/in.h> can also provide prototypes. ChangeMike Barcroft2002-05-111-2/+6
| | | | | | | wording related to standards conformance. Notes: svn path=/head/; revision=96430
* Add a support macro to convert the 5-bit packed register field ofJake Burkholder2002-05-113-66/+90
| | | | | | | | | | | | | | | | | a floating point instruction into a 6-bit register number for double and quad arguments. Make use of the new INSFPdq_RN macro where apporpriate; this is required for correctly handling the "high" fp registers (>= %f32). Fix a number of bugs related to the handling of the high registers which were caused by using __fpu_[gs]etreg() where __fpu_[gs]etreg64() should be used (the former can only access the low, single-precision, registers). Submitted by: tmm Notes: svn path=/head/; revision=96422
* We don't need libgnumalloc or libresolv on ELF systems.David E. O'Brien2002-05-111-1/+1
| | | | Notes: svn path=/head/; revision=96412
* Use the simpler NOMAN rather than NOMAN, NOPIC, NOPROFILE, INTERNALLIB.David E. O'Brien2002-05-116-25/+6
| | | | Notes: svn path=/head/; revision=96411
* Use GCC's __attribute__ ((constructor)) mechanism to invoke the pthreadAlfred Perlstein2002-05-116-38/+132
| | | | | | | | | | startup code rather than a static C++ object since c++ seems to be broken. This doesn't seem to work for staticically linked program just yet, I'll give that some more work when I get a chance. Notes: svn path=/head/; revision=96401
* Mention the other RAS_PORT_TYPEs from rfc2865Brian Somers2002-05-111-0/+14
| | | | | | | Suggested by: "lsz8425" <lsz8425@mail.cd.hn.cn> Notes: svn path=/head/; revision=96377
* Avoid casting a different sized integer to a pointer on LP64 systems.Peter Wemm2002-05-101-1/+1
| | | | Notes: svn path=/head/; revision=96350
* Add rad_get_vendor_attr() for deciphering vendor attributes receivedBrian Somers2002-05-102-1/+34
| | | | | | | from the RADIUS server. Notes: svn path=/head/; revision=96322
* Use the compiler's crt{begin,end}.David E. O'Brien2002-05-101-2/+1
| | | | Notes: svn path=/head/; revision=96313
* Replace /kernel with /boot/kernel/kernel.Josef Karthauser2002-05-091-1/+1
| | | | | | | | PR: docs/37757 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org> Notes: svn path=/head/; revision=96247
* Some updates to mention accept filters and howMike Silbersack2002-05-082-2/+33
| | | | | | | | | listen queues work in a syncache world. MFC after: 3 days Notes: svn path=/head/; revision=96228
* If no old_pw was passed to pw_copy, compare just the name.Dag-Erling Smørgrav2002-05-081-1/+2
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96220
* Use libutil and libypclnt for all passwd manipulation and NIS needs.Dag-Erling Smørgrav2002-05-082-22/+41
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96201
* Add passwd manipulation code based on parts of vipw and chpass.Dag-Erling Smørgrav2002-05-083-86/+438
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96199
* Add ypclnt_havepasswd(), and guard against a possible segfault.Dag-Erling Smørgrav2002-05-082-12/+33
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96198
* Add a no_fail option.Dag-Erling Smørgrav2002-05-082-6/+20
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96192
* Add pam_ftpusers(8), which enforces /etc/ftpusers.Dag-Erling Smørgrav2002-05-084-0/+222
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=96191
* Fix bug that causes passwd and friends to fail when the user has a '+' inDag-Erling Smørgrav2002-05-071-0/+3
| | | | | | | | | their passwd file for NIS because _PWF_SOURCE is not set. Submitted by: amigus (perforce change 10969) Notes: svn path=/head/; revision=96186
* Fix the copyright dates.David E. O'Brien2002-05-071-1/+1
| | | | Notes: svn path=/head/; revision=96171
* Add support for vendor specific RADIUS extensions.Brian Somers2002-05-075-1/+158
| | | | | | | Only the extensions from rfc2548 are specified for now. Notes: svn path=/head/; revision=96154
* Use __FBSDIDDavid E. O'Brien2002-05-061-2/+3
| | | | Notes: svn path=/head/; revision=96129
* We typically don't add trailing /'s.David E. O'Brien2002-05-061-1/+1
| | | | Notes: svn path=/head/; revision=96128
* Document the lchflags(2) syscall.Maxime Henrion2002-05-052-1/+14
| | | | Notes: svn path=/head/; revision=96085
* Fix fd leak. Threads people: does the call above to `access' need to beGarrett Wollman2002-05-031-1/+3
| | | | | | | | | | underscored as well? PR: 37717 Submitted by: fred@clift.org (slightly modified by me) Notes: svn path=/head/; revision=95989
* Make these functions cancellation points like they should be:Archie Cobbs2002-05-0215-15/+198
| | | | | | | | | | | poll(2), readv(2), select(2), wait4(2), writev(2). PR: bin/37658 Reviewed by: deischen MFC after: 1 week Notes: svn path=/head/; revision=95948
* Make sure calls to pthread_cancel() do not take effect if the targetArchie Cobbs2002-05-023-6/+12
| | | | | | | | | | | thread is already exiting. PR: bin/37614 Reviewed by: deischen MFC after: 1 week Notes: svn path=/head/; revision=95947
* Add openpam_nullconv.c to SRCS.Dag-Erling Smørgrav2002-05-021-0/+1
| | | | Notes: svn path=/head/; revision=95911
* Install the libc signal trampoline on startup.Jake Burkholder2002-04-291-0/+2
| | | | Notes: svn path=/head/; revision=95751
* Add an alternate signal trampoline to libc; add a wrapper for the sigtrampJake Burkholder2002-04-294-2/+96
| | | | | | | | | | install sysarch, to be called from _start. This will allow the stack to be mapped non-executable, as required by the sparc v9 abi. Notes: svn path=/head/; revision=95745
* Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effectBruce Evans2002-04-292-2/+2
| | | | | | | | | | | | | | | | except to generate spurious warnings about a system header <sys/param.h> having some inline functions (the bswap family). This backs out the main part of rev.1.5 (which was the only part left). The problem fixed by rev.1.5 of the Makefile went away in rev.1.5 of ../common/crtbegin.c when the references to do_ctors() and do_dtors() in the latter were moved from inline asm to C code. This leaves the problem that implementation details cause warnings. Discussed with: jdp Notes: svn path=/head/; revision=95721
* Spell void * as void * rather than caddr_t. This is complicated by theDag-Erling Smørgrav2002-04-2815-117/+122
| | | | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95658
* Add code to emulate arithmetic, comparison and conversion operationsJake Burkholder2002-04-282-1/+136
| | | | | | | | | | | | | | on long double, which are not implemented in hardware on any UltraSPARC chip that I know of. This just calls into the existing floating point emulator, which is still needed to emulate other floating point operations in certain conditions. Without this gcc has to generate the quad floating point instructions directly, which sometimes causes internal compiler errors. Reviewed by: tmm Notes: svn path=/head/; revision=95604
* Obliterate the new password as well as the old, even if though it's hashed.Dag-Erling Smørgrav2002-04-271-2/+8
| | | | Notes: svn path=/head/; revision=95588
* Emulate ldq and stq (load/store long double) instructions. GCC has startedJake Burkholder2002-04-2712-106/+252
| | | | | | | | | | | | using these to load long doubles, but they aren't implemented in hardware on (at least) UltraSPARC I and II machines. Emulate popc in the user trap handler as well. Re-arrange slightly to make support functions more accessible. Reviewed by: tmm Notes: svn path=/head/; revision=95587
* Don't ask root for the old password, except in the NIS case.Dag-Erling Smørgrav2002-04-261-1/+6
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95516
* Fix a really dumb bug (missing curly braces around the body of an ifDag-Erling Smørgrav2002-04-261-2/+3
| | | | | | | statement) that caused pam_sm_chauthtok() to always fail silently. Notes: svn path=/head/; revision=95477
* #include <string.h> instead of <strings.h>Dag-Erling Smørgrav2002-04-251-1/+1
| | | | Notes: svn path=/head/; revision=95459
* Constify _malloc_options.Poul-Henning Kamp2002-04-242-3/+3
| | | | Notes: svn path=/head/; revision=95377
* Do not +1 with MAXPATHLEN.David E. O'Brien2002-04-231-1/+1
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=95331
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-224-4/+4
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* Implement several of the c99 updates to scanf(3):Bill Fenner2002-04-202-140/+220
| | | | | | | | | | | | | | | | - New length modifiers: hh, j, ll, t, z. Still to do: - %C, %S, %lc, %ls (wide character support) - %a/%A (exact hex representation of floating-point numbers) Removed old compatability equivalents: - %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these were buggy anyway, since they should have represented %Le & %Lf). - %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d Notes: svn path=/head/; revision=95137
* Oops, fix an inverted if test.Dag-Erling Smørgrav2002-04-201-1/+1
| | | | Notes: svn path=/head/; revision=95136
* Strip /dev/ from tty name, and clean up the "last login" printout.Dag-Erling Smørgrav2002-04-201-6/+10
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95135