summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add the "auth_as_self" option to the pam_unix module (there is nomarkm2001-05-244-3/+11
| | | | | | | reason not to add it to others later). This causes the pam_unix module to check the user's _own_ password, not the password of the account that the user is authenticating into. This will allow eg: WHEELSU type behaviour from su(1).
* Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.obrien2001-05-2453-93/+223
| | | | Do the same for the non-wcs*/wmem* files while I'm here.
* This patch implements O_DIRECT about 80% of the way. It takes a patchsetdillon2001-05-242-0/+12
| | | | | | | | | | | | | | | | Tor created a while ago, removes the raw I/O piece (that has cache coherency problems), and adds a buffer cache / VM freeing piece. Essentially this patch causes O_DIRECT I/O to not be left in the cache, but does not prevent it from going through the cache, hence the 80%. For the last 20% we need a method by which the I/O can be issued directly to buffer supplied by the user process and bypass the buffer cache entirely, but still maintain cache coherency. I also have the code working under -stable but the changes made to sys/file.h may not be MFCable, so an MFC is not on the table yet. Submitted by: tegge, dillon
* Add some error codes that were added in RFC2616.des2001-05-231-0/+3
|
* Changed the clnt_perror string in yp_all because it was saying thepirzyk2001-05-231-1/+1
| | | | | | | | | error came from yp_next PR: bin/13254 Submitted by: Jim Pirzyk Reviewed by: jkh MFC after: 1 week
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-232-2/+2
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* Fix the range of the returned value.ru2001-05-231-1/+1
| | | | | PR: docs/27446 Submitted by: Tadayuki OKADA <tadayuki@mediaone.net>
* Correct error message of an example.ume2001-05-211-1/+1
| | | | Obtained from: KAME
* Add a test for PR 24345.jasone2001-05-206-0/+330
|
* Update the verify script.jasone2001-05-206-603/+486
|
* Don't define _REENTRANT, since the Makefile does so.jasone2001-05-203-6/+0
|
* Fix a typo.jasone2001-05-203-3/+3
|
* Instead of using a join queue for each thread, use a single pointer tojasone2001-05-2032-437/+320
| | | | | | | | | | | keep track of a joiner. POSIX only supports a single joiner, so this simplification is acceptable. At the same time, make sure to mark a joined thread as detached so that its resources can be freed. Reviewed by: deischen PR: 24345
* Removed -I${.CURDIR}/../../sys from CFLAGS.ru2001-05-201-3/+0
|
* Document ECONNREFUSED.archie2001-05-201-0/+4
| | | | Submitted by: Richard Hodges <rh@matriplex.com>
* Use CONS_GETINFO ioctl to get geometry of the current text mode instead ofsobomax2001-05-191-5/+7
| | | | TIOCGWINSZ. The former is more correct in this context.
* Remove these libs that are the same .so version as the ones inobrien2001-05-191-12/+1
| | | | | 5-CURRENT. These libs will not be used [sitting in /usr/lib/compat] as the -current ones in /usr/lib will be found first by ld-elf.so.1.
* Remove these libs that are the samed .so version as the ones inobrien2001-05-191-12/+1
| | | | | 5-CURRENT. These libs will not be used [sitting in /usr/lib/compat] as the -current ones in /usr/lib will be found first by ld-elf.so.1.
* Update the AXP compat4x dist to the 4.3-FreeBSD libs.obrien2001-05-192-14777/+14837
| | | | There were some security issues fixed between 4.2 -> 4.3.
* Update the i386 compat4x dist to the FreeBSD 4.3 libs.obrien2001-05-192-11910/+11934
| | | | There were some security issues fixed between 4.2 -> 4.3.
* The function clnt_dg_call(), which is used for UDP RPC calls, couldiedowse2001-05-181-4/+2
| | | | | | | | | accidentally clobber the server address if a stray packet arrived at the client port. This would result in any further retransmits going to the wrong address. For now, fix this by not saving the source address of the reply; this matches the pre-tirpc behaviour.
* Removed -I${.CURDIR}/.../sys from CFLAGS.ru2001-05-184-6/+3
|
* Fixed typo in the description.ru2001-05-182-4/+4
| | | | | PR: docs/27411 Submitted by: David Wimsey <dwimsey@rtci.com>
* Sort.obrien2001-05-181-23/+24
|
* Add the "prompt" and "passwd_prompt" fields to /etc/login.conf,obrien2001-05-181-0/+4
| | | | | | which makes lgoin more like getty in its ability to be configured. Submitted by: tlambert (code only)
* Use the correct FreeBSD definitions for wint_t and wchar_t.obrien2001-05-182-2/+6
|
* Condition variable waiters are queued in descending priority order, sojasone2001-05-183-27/+6
| | | | | | | | there is no need to wake all waiters to assure that the highest priority thread is run. As the semaphore code is written, there was no correctness problem, but the change improves sem_post() performance. Pointed out by: deischen
* Suppress compiler warning by adding a type cast.ru2001-05-171-4/+2
|
* Argh. Fix a long-standing man page filter botch. See terminfo(5) forpeter2001-05-172-2/+2
| | | | the effect.
* Update for ncurses 5.2-20010512 importpeter2001-05-176-64/+70
|
* ... but we do provide .St -isoC-99, and it is not required to have theru2001-05-171-5/+1
| | | | | | | | | | | history info as: : .Sh STANDARDS If the command, library function or file adheres to a : specific implementation such as IEEE Std 1003.2 : (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this : should be noted here. If the command does not adhere : to any standard, its history should be noted in the : HISTORY section.
* Mark a thread that is suspended while sleeping as interrupted.jasone2001-05-163-3/+9
|
* Unbreak world; _DIAGASSERT macro is not available in FreeBSD.ru2001-05-1621-57/+0
|
* mdoc(7) police: fix markup.ru2001-05-161-4/+5
|
* Introduce getprogname(3) and setprogname(3) library calls. These getdd2001-05-154-3/+123
| | | | | | | | | and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
* adapt to FreeBSD.tshiozak2001-05-152-4/+20
| | | | | | | | | | - enable locale-insensitive functions of wchar.h: wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c XXX: wcswidth.c is not enabled yet. - enable wmemchr(3) man page. XXX: FreeBSD lacks .St -isoC99 and .St -isoC-amd1.
* mdoc(7) police: sort xrefs.ru2001-05-151-1/+1
|
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-155-113/+395
| | | | | Obtained from: NetBSD MFC after: 1 month
* initial import of locale insensitive wcs* and wmem* functions.tshiozak2001-05-1522-0/+1484
| | | | Obtained from: NetBSD and Citrus.
* mdoc(7) police: add RETURN VALUES section.ru2001-05-141-8/+13
| | | | | PR: docs/27161 Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp>
* Replace functional bugs of ctypish functions in libstand with styledcs2001-05-141-7/+35
| | | | | | | bugs. reviewed by: bde MFC after: 1 week
* Bring in a few useful PAM modules.markm2001-05-1417-4/+1810
| | | | | | | | | | | | | | | | | | pam_krb5 is a Kerberos 5 (Heimdal) authentication module. pam_nologin checks for /etc/nologin and does the "usual stuff" if it is found, otherwise it silently succeeds. pam_rootok silently succeeds if the user is root, otherwise it fails. pam_wheel silently succeeds if the user is a member of group "wheel" (or another nominated group), and fails otherwise. There is an issue with kerberosIV and kerberos5 - if both are being built, then static linking fails with duplicate symbols. This will take a bit of work to sort out in the kerberii.
* + add u_long sector_size to struct disk (documented in libdisk.3)jkh2001-05-138-80/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | + make Open_Disk sense the sector size by trying 512, 1024 and 2048 in this order. This makes the kernel note that dscheck(cd1): bio_bcount 512 is not on a sector boundary (ssize 2048) dscheck(cd1): bio_bcount 1024 is not on a sector boundary (ssize 2048) if 2048 is the sector size. If this worries anyone: the message is from /usr/src/sys/kern/subr_diskslice.c and shutups are to be placed there. + Have read_block and write_block use an additional parameter, the sector size. + replace all barfout calls with return NULL, 0, __LINE__, etc. Note that this does NOT emit diagnostics. More often than not, you don't want library functions to scribble on stderr -- it may not even be available. The right thing is to propagate the error condition to upper management. The app should take care of errors. + use d1->sector_size instead of 512 in various places. I've left many places untouched, especially those writing MBRs. I simply added another arg hardcoded as 512. This is because I would not know what I'm doing... I felt this approach would be reasonably backward compatible and not introduce any new bugs in critical software. Famous last words. Messing with MBRs might soon put me in the same screwup meister category as, uh, never mind. :-) + bump the max no of disks from 20 to 32 (due to PR 24503). PR: 8434 / 8436 / 24503 Submitted by: Jens Schweikhardt <schweikh@schweikhardt.net>
* Extract the path from an AF_LOCAL sockaddr_un in a way that correctlyiedowse2001-05-121-2/+5
| | | | | | | | | | | terminates the string in all cases, based on code from netstat(1). The path in a sockaddr_un is terminated either by a '\0', or by the end of the sockaddr as defined by sun_len. Previously, the code could write the "safety" '\0' beyond the end of the sockaddr (sockaddr_un's need only be large enough to store sun_len bytes), and writing into the the supplied sockaddr is bad anyway.
* gethostbyname2() can't do AF_INET6 lookups over NIS.alex2001-05-081-0/+7
| | | | | | getaddrinfo(3) must be used. Submitted by: ume
* Correct prototype (entry_p -> *entry_p)jedgar2001-05-071-1/+1
| | | | Submitted by: Alex Zepeda <jazepeda@pacbell.net>
* Properly copy the P_ALTSTACK flag in struct proc::p_flag to the childknu2001-05-073-33/+3
| | | | | | | | | | | | | | | | | | process on fork(2). It is the supposed behavior stated in the manpage of sigaction(2), and Solaris, NetBSD and FreeBSD 3-STABLE correctly do so. The previous fix against libc_r/uthread/uthread_fork.c fixed the problem only for the programs linked with libc_r, so back it out and fix fork(2) itself to help those not linked with libc_r as well. PR: kern/26705 Submitted by: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp> Tested by: knu, GOTOU Yuuzou <gotoyuzo@notwork.org>, and some other people Not objected by: hackers MFC in: 3 days
* Finish disconnecting pam_ssh from the build.green2001-05-041-3/+0
|
* Move the check for a pending signals to after the thread has beendeischen2001-05-046-18/+54
| | | | | | | | | | | | | | | placed in any scheduling queue(s). The process of dispatching signals to a thread can change its state which will attempt to add or remove the thread from any scheduling queue to which it belongs. This can break some assertions if the thread isn't in the queue(s) implied by its state. When adding dispatching a pending signal to a thread, be sure to remove the signal from the threads set of pending signals. PR: 27035 Tested by: brian MFC in: 1 week
* I've been meaning to take pam_ssh out of the base system for a while now.green2001-05-041-3/+0
| | | | Finally do it.
OpenPOWER on IntegriCloud