summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Build openfirmio on sparc64.tmm2002-10-181-0/+1
|
* Add a pseudo device which allows to access the OpenFirmware device treetmm2002-10-182-0/+389
| | | | | via ioctl()s. This was ported from NetBSD and adapted a bit to better match our OpenFirmware support code.
* Add an #ifdef _KERNEL to make it possible to include this file fromtmm2002-10-181-5/+7
| | | | userland (to get the typedefs).
* Staticify for lint.markm2002-10-181-2/+2
|
* Constify and staticify for lint.markm2002-10-183-6/+6
|
* typo.nyan2002-10-181-4/+4
| | | | | Submitted by: SAWADA Hodaka <hoda@tail.gr.jp> MFC after: 1 day
* Sync usage() with reality and sort it alphabetically.tjr2002-10-181-4/+5
| | | | | | PR: 42620 Submitted by: Jeff Ito MFC after: 1 month
* Add -c option to synopsis. Sort it alphabetically, too.tjr2002-10-181-3/+3
|
* Print non-printing characters in directory names, as well as file names,tjr2002-10-183-5/+9
| | | | | | | as `?' or `\ooo', depending on whether the -b or -B flags were used. PR: 43995 MFC after: 1 month
* Avoid accidentally making "-h" a synonym for "fc".tjr2002-10-181-1/+1
| | | | Obtained from: NetBSD
* Revert last delta. SGR support in grotty(1) is disabled system-wideru2002-10-183-3/+3
| | | | in /usr/share/tmac/troffrc pending the issue resolution on -arch.
* Disable SGR support in grotty(1) pending the resolution on -arch.ru2002-10-181-0/+3
|
* When a user gets refused because the password is wrong, use themarkm2002-10-181-0/+4
| | | | | | | older "BAD SU" syslog message that folks prefer. There is quite a bit more tweaking that can be done with other similar messages. Asked for by: tjr
* Add myselfadamw2002-10-181-0/+1
| | | | Approved by: pat (mentor)
* Everyone else is doing it! (adding their birthdays)trhodes2002-10-181-0/+1
|
* New committer's first commit(birthday).maho2002-10-181-0/+1
|
* Add a new man page describing the mac_bsdextended policy.chris2002-10-182-0/+81
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Cosmetic line-wrapping change that has the side-effect of not producingchris2002-10-181-2/+2
| | | | the (incorrectly-spaced) output "... Network Associates Inc. under ..."
* Remove a superfluous line containing only `.'chris2002-10-181-1/+0
|
* New committer first committion.daichi2002-10-181-0/+1
| | | | addition my birthday.
* Backout my previous "brain cramp" commit.pirzyk2002-10-181-11/+9
| | | | | | Requested by: Most developers Apologies to: Most developers, with special note to <ken@kdm.org> Collabroation in the future with: Kenneth D. Merry <ken@kdm.org>
* Cover the ELF headers with the text segment so that they get loadedmarcel2002-10-181-1/+1
| | | | | | into memory. This brings us in line with the other architectures and more easily allows us to do machine dependent processing on the ELF file (such as scanning for unwind information).
* install "fast ipsec" include filessam2002-10-182-1/+3
|
* Output "human-readable" values with a non-0 precision wheredd2002-10-181-7/+9
| | | | | | | | appropriate. Before this, a 2.9 GB file was misleadingly reported as "2G". This mostly brings unit_adjust() in line with what is in du(1). Reviewed by: jmallett Approved by: nik
* Exempt the "wheel group requirement" by default when su'ing to root ifrwatson2002-10-181-1/+1
| | | | | | | | | | the wheel group has no explicit members listed in /etc/group. This adds the "exempt_if_empty" flag to pam_wheel in the default configuration; in some environments, it may be appropriate to remove this flag, however, this default is the same as pre-pam_wheel. Reviewed by: markm Sponsored by: DARPA, Network Associates Laboratories
* Introduce 'exempt_if_empty' option to pam_wheel(8), which bypasses therwatson2002-10-182-2/+18
| | | | | | | | | | group membership requirement if the group has no explicit members listed in /etc/group. By default, this group is the wheel group; setting this flag restores the default BSD behavior from 4.x. Reviewed by: markm Requested by: various Sponsored by: DARPA, Network Associates Laboratories
* Have lockinit() initialize the debugging fields of a lockmckusick2002-10-181-0/+9
| | | | | | when DEBUG_LOCKS is defined. Sponsored by: DARPA & NAI Labs.
* When the number of dirty buffers rises too high, the buf_daemon runsmckusick2002-10-181-3/+17
| | | | | | | | | | | | | | to help clean up. After selecting a potential buffer to write, this patch has it acquire a lock on the vnode that owns the buffer before trying to write it. The vnode lock is necessary to avoid a race with some other process holding the vnode locked and trying to flush its dirty buffers. In particular, if the vnode in question is a snapshot file, then the race can lead to a deadlock. To avoid slowing down the buf_daemon, it does a non-blocking lock request when trying to lock the vnode. If it fails to get the lock it skips over the buffer and continues down its queue looking for buffers to flush. Sponsored by: DARPA & NAI Labs.
* With the revised single-lock method used in snapshots, themckusick2002-10-181-1/+0
| | | | | | BA_NOWAIT flag is no longer needed. Sponsored by: DARPA & NAI Labs.
* Typo in verb: zeros -> zeroes.keramida2002-10-181-1/+1
|
* not sure if this correct, but it compiles againsam2002-10-181-3/+3
|
* Separate fiels reported by disk_err() with spaces, so that output doesn'tsobomax2002-10-171-7/+7
| | | | | | look cryptic. MFC after: 1 week
* Fix silly typo: loacal --> local.sobomax2002-10-171-1/+1
|
* Changed the scsi mode command to use 10 bytes scsi commands insteadpirzyk2002-10-171-9/+11
| | | | | | | of the 6 byte ones. This helps with using a IDE cdrom behind a USB interface. PR: kern/43885
* Style: use sa_handler instead of __sigaction_u.__sa_handler.tjr2002-10-171-1/+1
|
* Activate ugidfw.8 man page.chris2002-10-171-1/+1
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Replace the conventional usage of strncpy() by using strlcpy().robert2002-10-172-13/+5
|
* - Use strlcpy() rather than strncpy() to copy NUL terminatedrobert2002-10-171-6/+6
| | | | | strings. - Pass the correct buffer size to getcredhostname().
* Be consistent and return the NUL at the end of kern.geom.conf{xml,dot}.phk2002-10-171-2/+2
| | | | Spotted by: sam
* Instead of (sizeof(source_buffer) - 1) bytes, copy at mostrobert2002-10-171-1/+1
| | | | | | (sizeof(destination_buffer) - 1) bytes into the destination buffer. This was not harmful because they currently both provide space for (MAXCOMLEN + 1) bytes.
* FD locking is not enabled anymore, so the table which contains the ownerjmallett2002-10-171-4/+0
| | | | | | | | of a file descriptor has NULL entries, so don't dereference the table entries to get the owners ever -- don't print the owners when processing a thread_dump request as a result of SIGINFO. Reviewed by: deischen
* Use strlcpy() instead of strncpy() to copy NUL terminated stringsrobert2002-10-1711-28/+27
| | | | for safety and consistency.
* Add Dutch ISO keymapache2002-10-172-1/+139
| | | | | PR: 17699 Submitted by: Edwin Groothuis <mavetju@chello.nl>
* NUL terminate sysctl kern.disksphk2002-10-171-1/+1
|
* o ioctl DIOCGDINFO error wasn't checkedsam2002-10-171-7/+29
| | | | | | | | | | | | o memory wasn't reclaimed in certain cases o add more msgs under #ifdef DEBUG o rewrite tangle of for loops for clarity NB: Open_Disk should redo how it malloc's memory so the caller can free everything. Documentation says the caller can free the disk list to reclaim everything but this leaks the indirect strings. Fixing this is simple for the sysctl case but adds complexity to the fallback, non-sysctl, case.
* correct arg order to strlcpy/strlcat under #ifdef alphasam2002-10-171-2/+2
|
* Add the !define(COMPILING_LINT)pirzyk2002-10-172-2/+2
| | | | | | pass the pointy hat... Requested by: Juli Mallett <jmallett@FreeBSD.org>
* When entering the firmware mappings into the kernel tlb, clear all 'soft'tmm2002-10-171-1/+4
| | | | | | | | bits that might be set in the firmware tte data field, and set the soft flag TD_EXEC to mark the page executable. Failing to do the latter would cause fatal instruction faults in the prom in certain situations. Reviewed by: jake
* Allocate major 177 for the OpenFirmware control device, which I havetmm2002-10-171-0/+1
| | | | ported from NetBSD and plan to commit soon.
* Add mount_devfs so we can remove MAKEDEV from the fixit floppy. Thesesam2002-10-174-4/+4
| | | | | | two changes make stuff fit in a floppy image again. Note: tested only for i386, but (blindly) applied to all machines
OpenPOWER on IntegriCloud