summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add full PAM support for account management and sessions.markm2001-03-2712-184/+686
| | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net>
* Make rev 1.5 better match the rest of dump(8)'s output.obrien2001-03-271-2/+2
|
* Do not exit if unable to read /etc/dumpdates or create it.obrien2001-03-271-2/+4
| | | | | | If one is trying to dump or repair an ill system, give the user a fighting chance. Refusing to operate w/o a very non-critical file (feature) is just plain stupid.
* Remove NOMANcokane2001-03-271-1/+0
|
* MAN[1-9] -> MAN.ru2001-03-2763-141/+121
|
* Formatting fix for rev 1.298 where I did not take enough care.obrien2001-03-271-30/+30
|
* Mirror the newfs(8) defaults change I made in rev 1.33 of newfs.c whereobrien2001-03-272-2/+2
| | | | I made `22' the default number of cylinders per group.
* Fix LDADD and add missing DPADD.ru2001-03-273-6/+12
|
* Describe details of importing.sobomax2001-03-271-0/+28
|
* Traverse ${DESTDIR}/usr/include in lexographical order.ru2001-03-271-1/+1
| | | | This should fix problems reported recently on -current.
* Add comment explaining why size not passed directly to mmap, i.e. not relayache2001-03-271-3/+9
| | | | | | on its check. KNF multi-line comments (inspired by bde)
* Do not override the ``install'' target.ru2001-03-271-1/+1
|
* MAN[1-9] -> MAN.ru2001-03-2755-82/+80
|
* MAN[1-9] -> MAN.ru2001-03-278-8/+8
|
* MAN[1-9] -> MAN.ru2001-03-2723-25/+25
|
* Update FreeBSD translations to match 1.4.1 (actually just copied Enslishsobomax2001-03-276-12/+30
| | | | messages as I don't know de, pl and fr).
* Resolve conflicts.sobomax2001-03-276-158/+518
|
* MAN[1-9] -> MAN.ru2001-03-2714-15/+16
|
* This commit was generated by cvs2svn to compensate for changes in r74853,sobomax2001-03-272-21/+38
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of Hugh F. Mahon's EasyEditor 1.4.1.sobomax2001-03-277-170/+554
| |
* | Don't bypass notifying a corresponding interfaceyar2001-03-271-0/+6
| | | | | | | | | | | | | | when leaving a link-layer multicast group. PR: kern/22176 Reviewed by: wollman
* | Add a missing m_pullup() before a mtod() in in_arpinput().yar2001-03-271-0/+6
| | | | | | | | | | PR: kern/22177 Reviewed by: wollman
* | MAN[1-9] -> MAN.ru2001-03-274-6/+4
| |
* | Reflect recent bsd.man.mk changes here, but do not assign theru2001-03-271-5/+8
| | | | | | | | | | default MAN=${KMOD}.4 value for now. This feature was broken before, and enabling it now would cause 92 Makefiles to fail.
* | MAN[1-9] -> MAN.ru2001-03-2757-81/+74
| |
* | Use PLAY_MSF instead of PLAY_BIG when doing audio play.sos2001-03-273-31/+36
| | | | | | | | | | | | | | | | | | | | | | The fixes the problem of PLAY_BIG not being implemented on some modern drives. The problem now is that some old drives use BSD encoding in the MSF case, which they dont tell, and which is also not according to spec *sigh*. Hopefully there are not too many of those still alive, or I hereby grant license to kill the firmware writers that wrote the mess.
* | Make cblock_alloc_cblocks() spell its own nameyar2001-03-272-2/+2
| | | | | | | | | | | | correctly in its warning message. PR: kern/7693
* | MAN[1-9] -> MAN.ru2001-03-275-6/+4
| |
* | give the "netgrent" functions a home in netdb.halfred2001-03-275-11/+7
| |
* | const'ifyalfred2001-03-272-2/+2
| |
* | Make it possible to build manpages for the entire source tree.ru2001-03-277-6/+24
| |
* | Change the dump routines to only abort if control-c is pressed.ps2001-03-274-4/+12
| | | | | | | | | | | | | | If any other key is pressed, print a message stating that control-c is how to abort. Reviewed by: peter
* | Rewrite of the CAM error recovery code.ken2001-03-2733-2060/+2815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the major changes include: - The SCSI error handling portion of cam_periph_error() has been broken out into a number of subfunctions to better modularize the code that handles the hierarchy of SCSI errors. As a result, the code is now much easier to read. - String handling and error printing has been significantly revamped. We now use sbufs to do string formatting instead of using printfs (for the kernel) and snprintf/strncat (for userland) as before. There is a new catchall error printing routine, cam_error_print() and its string-based counterpart, cam_error_string() that allow the kernel and userland applications to pass in a CCB and have errors printed out properly, whether or not they're SCSI errors. Among other things, this helped eliminate a fair amount of duplicate code in camcontrol. We now print out more information than before, including the CAM status and SCSI status and the error recovery action taken to remedy the problem. - sbufs are now available in userland, via libsbuf. This change was necessary since most of the error printing code is shared between libcam and the kernel. - A new transfer settings interface is included in this checkin. This code is #ifdef'ed out, and is primarily intended to aid discussion with HBA driver authors on the final form the interface should take. There is example code in the ahc(4) driver that implements the HBA driver side of the new interface. The new transfer settings code won't be enabled until we're ready to switch all HBA drivers over to the new interface. src/Makefile.inc1, lib/Makefile: Add libsbuf. It must be built before libcam, since libcam uses sbuf routines. libcam/Makefile: libcam now depends on libsbuf. libsbuf/Makefile: Add a makefile for libsbuf. This pulls in the sbuf sources from sys/kern. bsd.libnames.mk: Add LIBSBUF. camcontrol/Makefile: Add -lsbuf. Since camcontrol is statically linked, we can't depend on the dynamic linker to pull in libsbuf. camcontrol.c: Use cam_error_print() instead of checking for CAM_SCSI_STATUS_ERROR on every failed CCB. sbuf.9: Change the prototypes for sbuf_cat() and sbuf_cpy() so that the source string is now a const char *. This is more in line wth the standard system string functions, and helps eliminate warnings when dealing with a const source buffer. Fix a typo. cam.c: Add description strings for the various CAM error status values, as well as routines to look up those strings. Add new cam_error_string() and cam_error_print() routines for userland and the kernel. cam.h: Add a new CAM flag, CAM_RETRY_SELTO. Add enumerated types for the various options available with cam_error_print() and cam_error_string(). cam_ccb.h: Add new transfer negotiation structures/types. Change inq_len in the ccb_getdev structure to be "reserved". This field has never been filled in, and will be removed when we next bump the CAM version. cam_debug.h: Fix typo. cam_periph.c: Modularize cam_periph_error(). The SCSI error handling part of cam_periph_error() is now in camperiphscsistatuserror() and camperiphscsisenseerror(). In cam_periph_lock(), increase the reference count on the periph while we wait for our lock attempt to succeed so that the periph won't go away while we're sleeping. cam_xpt.c: Add new transfer negotiation code. (ifdefed out) Add a new function, xpt_path_string(). This is a string/sbuf analog to xpt_print_path(). scsi_all.c: Revamp string handing and error printing code. We now use sbufs for much of the string formatting code. More of that code is shared between userland the kernel. scsi_all.h: Get rid of SS_TURSTART, it wasn't terribly useful in the first place. Add a new error action, SS_REQSENSE. (Send a request sense and then retry the command.) This is useful when the controller hasn't performed autosense for some reason. Change the default actions around a bit. scsi_cd.c, scsi_da.c, scsi_pt.c, scsi_ses.c: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Selection timeouts shouldn't be covered by a sense flag. scsi_pass.[ch]: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Get rid of the last vestiges of a read/write interface. libkern/bsearch.c, sys/libkern.h, conf/files: Add bsearch.c, which is needed for some of the new table lookup routines. aic7xxx_freebsd.c: Define AHC_NEW_TRAN_SETTINGS if CAM_NEW_TRAN_CODE is defined. sbuf.h, subr_sbuf.c: Add the appropriate #ifdefs so sbufs can compile and run in userland. Change sbuf_printf() to use vsnprintf() instead of kvprintf(), which is only available in the kernel. Change the source string for sbuf_cpy() and sbuf_cat() to be a const char *. Add __BEGIN_DECLS and __END_DECLS around function prototypes since they're now exported to userland. kdump/mkioctls: Include stdio.h before cam.h since cam.h now includes a function with a FILE * argument. Submitted by: gibbs (mostly) Reviewed by: jdp, marcel (libsbuf makefile changes) Reviewed by: des (sbuf changes) Reviewed by: ken
* | Replace dyn_fin_lifetime with dyn_ack_lifetime for half-closed state.simokawa2001-03-271-1/+1
| | | | | | | | | | | | | | Half-closed state could last long for some connections and fin_lifetime (default 20sec) is too short for that. OK'ed by: luigi
* | limit the amount of retries when sending data to prevent lockups.alfred2001-03-271-2/+9
| |
* | At least install primes to the right place, for now. I suppose.green2001-03-271-2/+2
| | | | | | | | Reminded by: everyone
* | The common wisdom is to use the largest number of cylinders per group.obrien2001-03-271-3/+4
| | | | | | | | | | | | So bump the default from `16' to `22', which is the largest value allowed with the current default block size. This change increases the the group size from 32MB/g to 44MB/g on a 4GB SCSI disk.
* | Don't call the fictious `MAKEDEV' from the path "/sbin:/bin" when weobrien2001-03-271-69/+69
| | | | | | | | recurse. Rather recurse on ourself (as we know our own name).
* | Use SSIZE_MAX instead of INT_MAX, as kernel does ssize_t checkache2001-03-271-1/+3
| | | | | | | | Better explanation comment of FIXME section
* | Add ttyd0 which is needed on the Alpha when using the fix-it CDROMobrien2001-03-271-1/+1
| | | | | | | | over a serial console.
* | o Update copyright daterwatson2001-03-262-92/+62
| | | | | | | | | | | | | | | | o Revise description in light of commits over last month including: - ACL editing library is now implemented - ACLs are now implemented Obtained from: TrustedBSD Project
* | Added burncd to the SEE ALSO section.sos2001-03-261-0/+1
| | | | | | | | Idea by: "Akinori MUSHA" <knu@iDaemons.org>
* | Treat mmap() error as fatal too, i.e. do exit(1) instead of returnache2001-03-261-1/+1
| |
* | Adjust FreeBSD 4.3 release date.wosch2001-03-261-1/+1
| | | | | | | | Approved by: jkh
* | rlines() checks:ache2001-03-261-3/+10
| | | | | | | | | | | | | | | | | | | | | | 1) really check for size overflow by checking negative value. 2) since mmap() not support files over INT_MAX size, add check for it until either mmap() will be fixed or tail will be rewritted to handle large files alternatively. 3) replace fseek(... file_size, SEEK_SET) with fseek(... 0L, SEEK_END) to avoid off_t -> long cast 4) Use exit() if file is too big instead of warning and wrong logic afterwards.
* | New release notes: netstat -W, sockstat -c and -l, FFS/EXT2FS securitybmah2001-03-262-6/+28
| | | | | | | | | | | | fixes (FreeBSD-SA-01:30). Reorder netstat(1) notes to be adjacent.
* | Introduce support for POSIX.1e ACLs on UFS-based file systems. Thisrwatson2001-03-265-5/+825
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation is still experimental, and while fairly broadly tested, is not yet intended for production use. Support for POSIX.1e ACLs on UFS will not be MFC'd to RELENG_4. This implementation works by providing implementations of VOP_[GS]ETACL() for FFS, as well as modifying the appropriate access control and file creation routines. In this implementation, ACLs are backed into extended attributes; the base ACL (owner, group, other) permissions remain in the inode for performance and compatibility reasons, so only the extended and default ACLs are placed in extended attributes. The logic for ACL evaluation is provided by the fs-independent kern/kern_acl.c. o Introduce UFS_ACL, a compile-time configuration option that enables support for ACLs on FFS (and potentially other UFS-based file systems). o Introduce ufs_getacl(), ufs_setacl(), ufs_aclcheck(), which respectively get, set, and check the ACLs on the passed vnode. o Introduce ufs_sync_acl_from_inode(), ufs_sync_inode_from_acl() to maintain access control information between inode permissions and extended attribute data. o Modify ufs_access() to load a file access ACL and invoke vaccess_acl_posix1e() if ACLs are available on the file system o Modify ufs_mkdir() and ufs_makeinode() to associate ACLs with newly created directories and files, inheriting from the parent directory's default ACL. o Enable these new vnode operations and conditionally compiled code paths if UFS_ACL is defined. A few notes: o This implementation is fairly widely tested, but still should be considered experimental. o Currently, ACLs are not exported via NFS, instead, the summarizing file mode/etc from the inode is. This results in conservative protection behavior, similar to the behavior of ACL-nonaware programs acting locally. o It is possible that underlying binary data formats associated with this implementation may change. Consumers of the implementation should expect to find their local configuration obsoleted in the next few months, resulting in possible loss of ACL data during an upgrade. o The extended attributes interface and implementation is still undergoing modification to address portable interface concerns, as well as performance. o Many applications do not yet correctly handle ACLs. In general, due to the POSIX.1e ACL model, behavior of ACL-unaware applications will be conservative with respects to file protection; some caution is recommended. o Instructions for configuring and maintaining ACLs on UFS will be committed in the near future; in the mean time it is possible to reference the README included in the last UFS ACL distribution placed in the TrustedBSD web site: http://www.TrustedBSD.org/downloads/ Substantial debugging, hardware, travel, or connectivity support for this project was provided by: BSDi, Safeport Network Services, and NAI Labs. Significant coding contributions were made by Chris Faulhaber. Additional support was provided by Brian Feldman, Thomas Moestl, and Ilmar Habibulin. Reviewed by: jedgar, keichii, mckusick, trustedbsd-discuss, freebsd-fs Obtained from: TrustedBSD Project
* | Fix error reporting of delayed send errors.fenner2001-03-261-1/+1
| |
* | secure/ build fixes:ru2001-03-2618-109/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - TELNETOBJDIR is gone. `buildworld' already installs libtelnet.a in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there. - SSHDIR (formerly SSHSRC) is now shared between all SSH modules. New LIBSSH is introduced for libssh.a (an internal static lib). Previously, build without prior `obj' was broken; SSH modules always looked for libssh.a in ${.OBJDIR}. Also, the dependancies on the libssh.a were missing. - libtelnet/ did not install the crypto version of telnet.h into /usr/include/arpa. - Removed BINOWN, BINMODE, BINDIR and SRCS with default values. Reviewed by: markm - MAN[1-9] -> MAN.
* | Backout botched attempt to introduce MANSECT feature; itru2001-03-261-4/+1
| | | | | | | | doesn't work in "developer" mode (single module checkout).
OpenPOWER on IntegriCloud