summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add an alternate signal trampoline to libc; add a wrapper for the sigtrampjake2002-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.
* Removed "-fkeep-inline-functions" from CFLAGS, since it now has no effectbde2002-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
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-2815-117/+122
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Add code to emulate arithmetic, comparison and conversion operationsjake2002-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
* Obliterate the new password as well as the old, even if though it's hashed.des2002-04-271-2/+8
|
* Emulate ldq and stq (load/store long double) instructions. GCC has startedjake2002-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
* Don't ask root for the old password, except in the NIS case.des2002-04-261-1/+6
| | | | Sponsored by: DARPA, NAI Labs
* Fix a really dumb bug (missing curly braces around the body of an ifdes2002-04-261-2/+3
| | | | statement) that caused pam_sm_chauthtok() to always fail silently.
* #include <string.h> instead of <strings.h>des2002-04-251-1/+1
|
* Constify _malloc_options.phk2002-04-242-3/+3
|
* Do not +1 with MAXPATHLEN.obrien2002-04-231-1/+1
| | | | Reviewed by: imp
* Usage style sweep: spell "usage" with a small 'u'.des2002-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}/.
* Implement several of the c99 updates to scanf(3):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
* Oops, fix an inverted if test.des2002-04-201-1/+1
|
* Strip /dev/ from tty name, and clean up the "last login" printout.des2002-04-201-6/+10
| | | | Sponsored by: DARPA, NAI Labs
* login(3) doesn't care about the controlling terminal any more.des2002-04-201-1/+1
|
* Fix for the sshd(8) utmp problem. Previously, login(3) would ignore the ttydes2002-04-201-3/+9
| | | | | | | | | | | | | | | named by its argument and use ttyslot(3) instead to determine what slot to use. The problem is that sshd(8) calls pam_open_session(3) before forking the child (as it should), at which point it does not have a controlling terminal. Also, ttyslot(3) is very crude as it assumes fd 0, 1 or 2 refers to the controlling terminal, which is usually (but not always) the case. Instead of using ttyslot(3) to determine the slot number, look up the specified tty in /etc/ttys ourselves (this is what ttyslot(3) does anyway). (perforce change 9969) Sponsored by: DARPA, NAI Labs
* Add character translation table between Unix and NetWare accordingbp2002-04-201-1/+78
| | | | | | | to Sweden standards. Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se> MFC after: 1 week
* mdoc(7) police: polishing.ru2002-04-191-11/+14
|
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-198-13/+29
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* Connect the kenv.2 manpage to the build.mux2002-04-181-1/+1
|
* Add a manpage for the kenv(2) syscall that Chad David kindlymux2002-04-181-0/+172
| | | | | | wrote for me. Submitted by: davidc
* Back out previous commit, which was not at all approved by the maintainerdes2002-04-181-21/+32
| | | | | | | | of this code. I very much doubt that "the FreeBSD way" really means "make it as unreadable and unmaintable as possible", and I would like Makefile style (which is not currently documented anywhere except in the minds of bde and ru) to be discussed and agreed upon in the appropriate forum before any further commits of this kind happen.
* This style is *way* outside the relm of any other of our Makefilesobrien2002-04-181-32/+21
| | | | | | (other than the single sys.mk). Adjust to smell like FreeBSD. Reviewed & prefered by: bde
* Removed gratuitous LIBCOMPATDIR assignments.ru2002-04-183-6/+0
|
* This Makefile.inc depended on the (wrong) order of inclusionru2002-04-181-1/+2
| | | | | | | | | | of makefiles: bsd.own.mk was included before ../Makefile.inc, effectively hiding the (wrong) LIBCOMPATDIR assignment here. share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed this order, revealed this bug, and broke "make release" and "make installworld" with either of -DCOMPAT1X or -DCOMPAT2?. Reported by: jhay
* Revert previous change. bsd.dep.mk,v 1.31 had a bug that was fixedru2002-04-171-2/+2
| | | | in revision 1.32 and made this change OBE.
* Make mppath and masterpasswd pointers instead of arrays, and initializedes2002-04-171-2/+4
| | | | | | | | | them to point at static strings that contain the default paths. This makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking so long to fix it.) Spotted by: Olivier Houchard <doginou@cognet.ci0.org> Sponsored by: DARPA, NAI Labs
* Add a missing .El and fix a typo.des2002-04-161-1/+2
| | | | | Spotted by: Solar Designer <solar@openwall.com> Sponsored by: DARPA, NAI Labs
* Reflect change in share/mk/bsd.dep.mk,v 1.31.ru2002-04-161-2/+2
|
* Support the snapshot file flag, so that tools like 'ls -ol' workjoe2002-04-161-0/+3
| | | | | | | as expected on snapshot files. PR: bin/37038 Submitted by: Joshua Goodall <joshua@roughtrade.net>
* Add a missing cross-ref.ceri2002-04-161-1/+2
| | | | | Approved by: murray MFC after: 1 week
* The GCC developers have made good on their threats against #pragma for 3.1.obrien2002-04-155-5/+8
| | | | | | Use __weak_reference in place of the #pragma. Submitted by: eischen
* Back out rev 1.6 -- I was in the wrong dir during a 'ci'. This changeobrien2002-04-151-21/+32
| | | | was on hold waiting feedback from previous committer.
* ypclnt.h was the correct spelling... we now have yet another specialobrien2002-04-151-32/+21
| | | | thing that needs to be done to get a header installed.
* Revert previous commit, it is incorrect.des2002-04-151-1/+1
|
* Properly spell rpcsvc/ypclnt.h and fix the build.obrien2002-04-151-1/+1
|
* Sync SCM ID comments with libc.obrien2002-04-153-21/+27
|
* Add awareness of an IPv6.ume2002-04-151-7/+20
| | | | MFC after: 1 week
* Remove bogus reference to _use_yp.des2002-04-151-9/+1
|
* Fix incorrect dependency. This should fix the -j build.des2002-04-151-1/+1
|
* This isn't WARNS ready in the -nostdinc case.ru2002-04-151-0/+1
|
* Throw in NO_WERROR to please the peanut gallery.des2002-04-151-0/+1
|
* Quoting log message for OpenBSD rev 1.7:nectar2002-04-151-0/+28
| | | | | | ``Tack on MagniComp (BSD) license since this originally came from rdist.'' Obtained from: OpenBSD
* Use PAM_SUCCESS instead of PAM_IGNORE.des2002-04-152-3/+3
|
* Whitespace nits.des2002-04-151-17/+17
|
* Add a manual page based on Solar Designer's README.des2002-04-152-1/+234
| | | | Sponsored by: DARPA, NAI Labs
* pam_passwdqc depends on libcrypt.des2002-04-151-0/+2
|
* Prompt for new password during update phase, not during preliminary phase.des2002-04-151-16/+10
| | | | Sponsored by: DARPA, NAI Labs
* Dike out most of the NIS code and replace it with calls to libypclnt.des2002-04-152-285/+79
| | | | | | | Rework pam_sm_chauthtok() so it (mostly?) works. The standard pw stuff still needs to move into a library somewhere. Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud