summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* add nl_langinfo(3)phantom2001-05-031-2/+2
|
* Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-currentphantom2001-05-031-25/+0
| | | | anymore.
* add manpage for nl_langinfo(3)phantom2001-05-031-0/+90
| | | | Reviewed by: ru
* Avoid dividing by zero if kd->procbase->ki_structsize is uninitalised.dwmalone2001-05-031-1/+1
| | | | | (I'm testing the numerator rather than the denominator, which looks weird, but is the right thing to do here).
* Update for (Linux-)PAM 0.75markm2001-05-032-10/+74
|
* * include/elf.h has been repo copied to include/elf-hints.h, and it noobrien2001-05-021-1/+2
| | | | | | | | longer includes machine/elf.h. * consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11.0 and too much clashing over our base elf headers and the Binutils elf headers.
* Do the alpha dance for the change MarkM hath made on the i386 side.mjacob2001-05-021-0/+2
|
* Don't give a warning about "proc size mismatch" if no struct weredwmalone2001-05-011-1/+2
| | | | | | | returned. (This arose on a list about a month ago when someone found bogus warnings if they used "ps -Uuser_with_no_processes".) Approved by: mckusick
* Compensate for header dethreading.markm2001-05-011-0/+4
|
* Compenate for header dethreading.markm2001-05-016-0/+12
|
* Compensate for header dethreading.markm2001-05-015-0/+12
|
* Compensate for header dethreading.markm2001-05-019-0/+18
|
* Unbreak world by defining isalnum() for libstand consumers.msmith2001-04-291-0/+1
|
* Add getaddrinfo(3) to the "SEE ALSO" list.archie2001-04-271-0/+1
|
* Grammar nit.ru2001-04-271-1/+1
|
* Document acl_get_entry(3)jedgar2001-04-261-0/+4
| | | | Obtained from: TrustedBSD Project
* The function __rpc_uaddr2taddr_af() converts an RPC "universaliedowse2001-04-261-0/+2
| | | | | | | | | address" string to a netbuf/sockaddr "transport address". In the case of an AF_LOCAL address, it was missing the code to actually point the netbuf at the newly allocated sockaddr_un, so the caller ended up with a netbuf containing junk. Submitted by: Martin Blapp <mb@imp.ch>
* o Separate acl_t into internal and external representations asjedgar2001-04-2416-132/+373
| | | | | | | | | | | required by POSIX.1e. This maintains the current 'struct acl' in the kernel while providing the generic external acl_t interface required to complete the ACL editing library. o Add the acl_get_entry() function. o Convert the existing ACL utilities, getfacl and setfacl, to fully make use of the ACL editing library. Obtained from: TrustedBSD Project
* Remove bogus assignments of libc syscall stub return values to errno;tmm2001-04-243-3/+0
| | | | | | | the stubs do errno assignments and return -1 in this case, so that errno would end up with this value. Approved by: rwatson
* Apply 'const' liberally.archie2001-04-248-129/+134
| | | | Fix some other minor glitches.
* Add sranddev.3 to MLINKSache2001-04-231-1/+1
|
* Add #include "un-namespace.h"ache2001-04-231-0/+1
|
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-232-2/+2
| | | | change of high word part too to produce more interesting seed distribution.
* Fix directory reads of MNT_UNION mounts, where entries present in bothjoerg2001-04-231-1/+2
| | | | | | | layers would be displayed twice. PR: bin/26498 Submitted by: Olliver Fromme <olli@secnetix.de>
* mdoc(7) police: fix markup.ru2001-04-231-31/+31
|
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-232-1/+46
|
* Don't pass NULL to the %s format.dd2001-04-221-2/+6
| | | | Reviewed by: kris
* Turn on libdevinfomsmith2001-04-211-3/+3
|
* devinfo_var.h should not be in INCSmsmith2001-04-201-1/+1
|
* More typo fixes, .Os -> .Fxmsmith2001-04-201-4/+5
|
* typo .Fr -> .Fnmsmith2001-04-201-1/+1
|
* Add a manpage for libdevinfo.msmith2001-04-202-1/+238
|
* This is the Device Information Library, libdevinfo.msmith2001-04-204-0/+681
| | | | | | | The devinfo library provides access to the kernel's internal device hierarchy and to the I/O resource manager. The library uses a sysctl(9) interface to obtain a snapshot of the kernel's state which is then made available to the application.
* mdoc(7) police: update referenced standard name.ru2001-04-181-1/+1
|
* mdoc(7) police: normalize .Nd.ru2001-04-1822-22/+22
|
* mdoc(7) police: fix markup.ru2001-04-181-9/+15
|
* mdoc(7) police: fix markup.ru2001-04-181-2/+6
|
* mdoc(7) police: use .Fx where appropriate.ru2001-04-1811-11/+23
|
* Typo; fix open() so that it is not a cancellation point when calleddeischen2001-04-183-3/+3
| | | | from libc.
OpenPOWER on IntegriCloud