aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* #ifdef out C locale extension to 8859-1 encoding, it now stays to ASCIIAndrey A. Chernov1997-05-131-1/+4
| | | | | | | | | | | | | | | | | | back as designed in *BSD Also it not violates current standards but 1) No other Unixes have this feature 2) It broke Kerberos5 (isprint) and God knows what else (not all vendors will agree to treat FreeBSD as special case for support since (1)) 2) Give false localization sense (programs mimic to be 8859-1 localized) which prevents true localization. Notes: svn path=/head/; revision=25776
* Back out previous revision. Shlib version numbers are supposed to beSatoshi Asami1997-05-131-1/+1
| | | | | | | | | | | bumped only 0.1 or 1.0 between releases. (See handbook.) Note that if you have built world in -current in the last 48 hours or so, you should manually remove /usr/lib/libutil.so.2.3 before rebuilding world to cleanse your system. Notes: svn path=/head/; revision=25768
* Add clock_* and nanosleep manpages and links.Peter Wemm1997-05-121-2/+5
| | | | Notes: svn path=/head/; revision=25746
* manpage for nanosleep(2)Peter Wemm1997-05-121-0/+96
| | | | | | | Obtained from: NetBSD (I think jtc@netbsd.org wrote it) Notes: svn path=/head/; revision=25745
* Man pages for clock_{get/set}time() and clock_getres().Peter Wemm1997-05-121-0/+124
| | | | | | | Obtained from: kstailey@openbsd.org via OpenBSD sources Notes: svn path=/head/; revision=25744
* Make uu_* const correct.Brian Somers1997-05-123-12/+12
| | | | | | | Suggested by: joerg Notes: svn path=/head/; revision=25740
* Use nanosleep() in all cases, not just in the reentrant libc (_THREAD_SAFE)Peter Wemm1997-05-121-70/+9
| | | | | | | version. Notes: svn path=/head/; revision=25739
* Add const in the thread version of nanosleep()'s argsPeter Wemm1997-05-123-3/+6
| | | | Notes: svn path=/head/; revision=25738
* remove prototype for nanosleep(), it's visible in unistd.h now.Peter Wemm1997-05-123-3/+0
| | | | Notes: svn path=/head/; revision=25737
* Create the clock_settime(), clock_gettime(), clock_getres() and nanosleep()Peter Wemm1997-05-121-3/+7
| | | | | | | syscall functions. Notes: svn path=/head/; revision=25736
* Add #include <sys/types.h> in synopsis, now required for libutil.h.David Nugent1997-05-115-5/+10
| | | | Notes: svn path=/head/; revision=25704
* Bump shared lib version to 2.3.David Nugent1997-05-111-1/+1
| | | | | | | Suggested by: bde Notes: svn path=/head/; revision=25703
* MF2.2: bugfix in arrayize().David Nugent1997-05-111-2/+2
| | | | Notes: svn path=/head/; revision=25702
* Summary of login.conf support changes:David Nugent1997-05-1010-1034/+1700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Incorporated BSDI code and enhancements, better logging for error checking (which has been shown to be a problem, and is therefore justified, imho); also some minor things we were missing, including better quad_t math, which checks for under/overflows. o setusercontext() now allows user resource limit overrides, but does this AFTER dropping root privs, to restrict the user to droping hard limits and set soft limits within the kernel's allowed user limits. o umask() only set once, and only if requested. o add _secure_path(), and use in login.conf to guard against symlinks etc. and non-root owned or non-user owned files being used. Derived from BSDI contributed code. o revamped authentication code to BSDI's latest api, which includes deleting authenticate() and adding auth_check() and a few other functions. This is still marked as depecated in BSDI, but is included for completeness. No other source in the tree uses this anyway, so it is now bracketed with #ifdef LOGIN_CAP_AUTH which is by default not defined. Only auth_checknologin() and auth_cat() are actually used in module login_auth.c. o AUTH_NONE definition removed (collided with other includes in the tree). [bde] o BSDI's login_getclass() now accepts a char *classname parameter rather than struct passwd *pwd. We now do likewise, but added login_getpwclass() for (sort of) backwards compatiblity, namely because we handle root as a special case for the default class. This will require quite a few changes elsewhere in the source tree. o We no longer pretend to support rlim_t as a long type. o Revised code formatting to be more bsd-ish style. Notes: svn path=/head/; revision=25670
* Move login_cap.h from src/include for easier maintenance withDavid Nugent1997-05-102-0/+143
| | | | | | | related files. Notes: svn path=/head/; revision=25658
* Plug even more failure memory leaksAndrey A. Chernov1997-05-101-6/+32
| | | | Notes: svn path=/head/; revision=25642
* CleanupAndrey A. Chernov1997-05-101-21/+26
| | | | | | | | | Plug failure memory leaks Use issetugid now PR: 3492 Notes: svn path=/head/; revision=25641
* Back out all of yesterdays include file changes.Eivind Eklund1997-05-071-3/+0
| | | | Notes: svn path=/head/; revision=25551
* Add syscalls for kernel linker.Doug Rabson1997-05-071-2/+4
| | | | Notes: svn path=/head/; revision=25539
* Make a lot of include-files self-contained. I excluded the patches changingEivind Eklund1997-05-071-0/+3
| | | | | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org> Notes: svn path=/head/; revision=25520
* Bye bye CPLUSPLUSLIB hack! It's not needed any more.John Polstra1997-05-063-9/+3
| | | | | | | | Don't merge this into -2.2 unless you understand the dependencies on c++rt0, bsd.lib.mk, and gcc -shared. I.e., let me do it. Notes: svn path=/head/; revision=25501
* Make this C++ safe.Jordan K. Hubbard1997-05-051-1/+5
| | | | | | | Submitted by: Nadav Eiron <nadav@barcode.co.il> Notes: svn path=/head/; revision=25487
* Nuke makefiles that duplicate those in libc now that libc is libc_rJohn Birrell1997-05-0326-320/+0
| | | | | | | aware. This simplifies things for libc_r. Notes: svn path=/head/; revision=25403
* Use libc makefiles from now on instead of duplicating them in libc_r.John Birrell1997-05-039-450/+27
| | | | | | | Added Id strings too. It's useful to know who last made a change. Notes: svn path=/head/; revision=25402
* Changed all paths to be relative to src/lib instead of src/lib/libcJohn Birrell1997-05-0327-98/+203
| | | | | | | | | | | | | so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too. Notes: svn path=/head/; revision=25401
* Change default build to include libc_r, but allow disadvantaged soulsJohn Birrell1997-05-031-1/+1
| | | | | | | to turn off the build. Notes: svn path=/head/; revision=25399
* This stub has not been required by libc for a long time. Nuke it.John Birrell1997-05-032-39/+2
| | | | Notes: svn path=/head/; revision=25398
* Fixed wrong mnemonic `setnel' that gas happened to generate correct objectBruce Evans1997-04-301-2/+2
| | | | | | | | | code for. Obtained from: a slightly different fix in NetBSD Notes: svn path=/head/; revision=25322
* Use our copy of dlfcn.h, not the version in /usr/include, which may notMike Smith1997-04-301-2/+2
| | | | | | | | be up-to-date when we are building. Submitted by: Terry Lambert <terry@lambert.org> Notes: svn path=/head/; revision=25296
* Fix a bug that caused some false mismatches when both FNM_PATHNAMEJohn Polstra1997-04-291-1/+2
| | | | | | | | | and FNM_LEADING_DIR were specified and the pattern ended with "*". Example: pattern="src/usr.sbin/w*", string="src/usr.sbin/watch/watch.8,v". This should match, but did not. Notes: svn path=/head/; revision=25269
* Typo.Masafumi Max NAKANE1997-04-251-1/+1
| | | | | | | | PR: #3178 Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25145
* Add vfork(2) to SEE ALSOAndrey A. Chernov1997-04-251-0/+1
| | | | Notes: svn path=/head/; revision=25138
* Add a -I switch to CFLAGS to use the f2c.h header file in the usr.bin/f2cJean-Marc Zucconi1997-04-241-1/+1
| | | | | | | | directory. Reviewed by: bde Notes: svn path=/head/; revision=25127
* Generate .S files for syscalls. This has many advantages:Bruce Evans1997-04-231-34/+9
| | | | | | | | | | | | | | | | | | - dependencies actually work (I need this to propagate some fixes in <machine/asm.h>) - the cpp pipeline goes away, so errors can't leak out of it and an ANSI cpp is automatically used. - it's simpler - standard rules get used instead of repetitive special rules. (This showed bugs in the strip steps in the standard rules. The wrong strip flag was also used for *.po here.) Removed some ${ECHO}s and `@'s. Normal make echoing of what is being done is now not much more verbose than the echo messages were, and is more useful. Notes: svn path=/head/; revision=25105
* FIxed the cleanup. I forgot to leave stdin alone in the usual (!twoway)Bruce Evans1997-04-221-1/+2
| | | | | | | case. Notes: svn path=/head/; revision=25084
* Clean-up my modification of popen.c for vfork. Bruce's (this) is better.John Dyson1997-04-201-10/+12
| | | | | | | Submitted by: Bruce Evans <bde@freebsd.org> Notes: svn path=/head/; revision=25063
* Use separate routines for memmove() and memcpy(). This lets me dropBruce Evans1997-04-201-0/+2
| | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD Notes: svn path=/head/; revision=25045
* Use separate routines for memmove() and memcpy(). This lets me dropBruce Evans1997-04-202-94/+4
| | | | | | | | | | | the (buggy) support for alternative entry points. ALTENTRY() was only used for memmove(). Optimizing for space was particularly silly because memcpy() is rarely used (gcc normally inlines it). Obtained from: NetBSD Notes: svn path=/head/; revision=25044
* Merged with the 1996/11/12 NetBSD version:Bruce Evans1997-04-201-10/+24
| | | | | | | | | | | | | | | | | | - use a slightly less bogus copyright. This file was never contributed to Berkeley. It still claims to be copright by the Regents. - use <machine/asm.h> instead of "DEFS.h". - use RCSID($Id$) instead of explicit assembly code and messy ifdefs. The rcsid won't be put into the object file until we make RCSID() non-null. NetBSD uses a LIBC_SCCS ifdef here. We used a LIBC_RCS instead, but I want RCSID() to be controlled directly by LIBC_RCS (actually by LIB_RCS). This is the only difference with the NetBSD version. - added ifdefs to support generation of memcpy() and memmove(). The other changes are "while I'm here" to get this. - improved style of the copy backwards case. Notes: svn path=/head/; revision=25043
* Fixed long lines.Bruce Evans1997-04-192-16/+18
| | | | | | | | | Removed unused macros CALL() and ASMSTR. Reviewed by: jdp Notes: svn path=/head/; revision=25029
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-196-10/+11
| | | | Notes: svn path=/head/; revision=25028
* Fix punctuation: "it's" -> "its"Daniel O'Callaghan1997-04-172-4/+4
| | | | Notes: svn path=/head/; revision=24992
* Fix the problem in popen that makes correct vfork semantics fail.John Dyson1997-04-161-6/+11
| | | | | | | | | Specifically, popen modifies a variable "pdes[1]" in the child in such a way that it breaks code in the parent (due to the address space sharing.) Notes: svn path=/head/; revision=24975
* Second stage of moving this to in <machine/asm.h>: just includeBruce Evans1997-04-151-82/+2
| | | | | | | <machine/asm.h> here. Notes: svn path=/head/; revision=24966
* Added -D_ARCH_INDIRECT=i387_ to CFLAGS. _ARCH_INDIRECT will soon be usedBruce Evans1997-04-151-4/+5
| | | | | | | | | to control generation of indirections in ENTRY(). Only msun needs it. Use ${ARCH} consistently. Notes: svn path=/head/; revision=24964
* Fixed missing const. Include <unistd.h> so that the function type getsBruce Evans1997-04-141-1/+3
| | | | | | | | checked. Submitted by: partly by roberto Notes: svn path=/head/; revision=24927
* Fixed another prototype bug in synopsis.Bruce Evans1997-04-141-1/+1
| | | | Notes: svn path=/head/; revision=24924
* Fix typo.David Nugent1997-04-131-1/+1
| | | | Notes: svn path=/head/; revision=24899
* Implement two new keywords and status flags for entries in /etc/ttys;David Nugent1997-04-132-4/+70
| | | | | | | | | | TTY_NETWORK (network), TTY_DIALUP (dialup), which determine a basic connection type. TTY_DIALUP in particular will replace the old out of date heuristic "tty[dD]*" in login.c (and better than the current hard-coded method). Notes: svn path=/head/; revision=24893
* Add MLINKS for isdialuptty(3) & isnetworktty(3).David Nugent1997-04-131-2/+4
| | | | Notes: svn path=/head/; revision=24892