summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unremoved a used variable in the PCCARD_ARCH case.bde2004-03-121-0/+3
| | | | Reported by: tinderbox
* Hide internal implementation details of UID/GID checks from the user.ru2004-03-121-2/+2
|
* Use find(1) instead of ``pw groupshow'' to detect missing groups.ru2004-03-121-12/+18
| | | | | | Restore checks for recently added PF groups. Reviewed by: mlaier
* Add id(1) (aka groups(1) aka whoami(1)) since it is used by install.sh.des2004-03-121-0/+3
|
* THe log message for the previous commit should have said:bde2004-03-120-0/+0
| | | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: standards/56906
* Replace a manual check of a VMIO candidate with vn_canvmio(). Thisdes2004-03-121-2/+3
| | | | | | | | | silences an annoying warning in getblk() when VMIO'ing on a directory vnode, which can happen when vfs.vmiodirenable is 1. Bring the warning message in line with reality at the same time. Submitted by: hmp
* Initial support for C99's (or is it POSIX.1-2001's?) MATH_ERRNO,bde2004-03-121-0/+6
| | | | | | | | | | | MATH_ERREXCEPTION and math_errhandling, so that C99 applications at least have the possibility of determining that errno is not set for math functions. Set math_errhandling to the non-standard-conforming value of 0 for now to indicate that we don't support either method of reporting errors. We intentionally don't support MATH_ERRNO because errno is a mistake, and we are missing support for MATH_ERREXCEPTION (<fenv.h>, compiler support for <fenv.h>, and actually setting the exception flags correctly).
* Do not print a warning about net.inet.pim.stats if errno isdes2004-03-121-1/+2
| | | | | | | ENOENT, because that means we do not have PIM in the kernel. Submitted by: hmp MFC after: 1 week
* Fix copy&paste-o.phk2004-03-121-1/+1
| | | | Spotted by: iedowse
* If /conf/diskless_remount exists, use it to remount the entire /confbrooks2004-03-122-4/+26
| | | | | directory. This allows multiple roots (say for different architectures) to share the same set of /conf files.
* Use 'pw groupshow' instead of 'id -g' to see if a group exists.gshapiro2004-03-121-1/+1
| | | | | | PR: 64073 Submitted by: jhb MFC after: 5 days
* Part 2 of rev 1.68. Update comment to match reality now that vm_endcopypeter2004-03-121-1/+1
| | | | | | exists and we no longer copy to the end of the struct. Forgotten by: alfred and green
* mdoc(7): New sentence should start on new line.pjd2004-03-111-2/+2
| | | | Pointed out by: hmp
* Turn on logging for tftpd.des2004-03-111-2/+2
|
* Don't run fsck if there's no /etc/fstab.kientzle2004-03-111-0/+2
| | | | | | | In particular, this allows a "virgin" system installed from source (installworld, installkernel, cd etc && make distribution) to boot correctly and modestly simplifies the creation of single-partition network/cdrom/CF bootable images.
* Add reference to the g_access(9) manual page.pjd2004-03-119-0/+9
|
* Connect g_access(9) to the build.pjd2004-03-111-0/+1
|
* Add manual page for g_access(9) GEOM function.pjd2004-03-111-0/+154
|
* When I was a kid my work table was one cluttered mess an cleaning it upphk2004-03-115-24/+47
| | | | | | | | | | | | | were a rather overwhelming task. I soon learned that if you don't know where you're going to store something, at least try to pile it next to something slightly related in the hope that a pattern emerges. Apply the same principle to the ffs/snapshot/softupdates code which have leaked into specfs: Add yet a buf-quasi-method and call it from the only two places I can see it can make a difference and implement the magic in ffs_softdep.c where it belongs. It's not pretty, but at least it's one less layer violated.
* Remove unused variables.jhb2004-03-114-8/+1
|
* - Use variable names instead of numbers for the script arguments tosimon2004-03-111-18/+29
| | | | | | | | | improve readability. - Use mktemp to create the temporary files and directory. - Mount temporary md(4) backed file system on a temporary directory, instead of /mnt. Approved by: phk
* This commit was generated by cvs2svn to compensate for changes in r126854,des2004-03-111-18/+25
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * MFP4 (#47094): avoid bogus NULL pointer warnings when building with -DDEBUG.des2004-03-111-18/+25
| |
* | Properly vector all bwrite() and BUF_WRITE() calls through the same pathphk2004-03-1112-48/+56
| | | | | | | | and s/BUF_WRITE()/bwrite()/ since it now does the same as bwrite().
* | Remove unused mnt_reservedvnlist field.phk2004-03-114-10/+0
| |
* | Remove unused second arg to vfinddev().phk2004-03-118-18/+25
| | | | | | | | Don't call addaliasu() on VBLK nodes.
* | Properly count references of our dev_t to avoid triggering a KASSERT inle2004-03-112-0/+4
| | | | | | | | | | | | | | dev_strategy(). Submitted by: dwmalone Approved by: grog (mentor)
* | Correctly account for extra bits in unit numbers when looking forphk2004-03-111-3/+3
| | | | | | | | next free unit.
* | Add yet another VIA pci id.sos2004-03-112-2/+4
| |
* | Stop setting ifp->if_output to ether_output() since ether_ifattach()mux2004-03-1117-17/+0
| | | | | | | | does it for us already.
* | Don't implement anything in the ffs family in <machine/cpufunc.h>bde2004-03-112-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the non-_KERNEL case. This "fixes" applications that include this "kernel-only" header and also include <strings.h> (or get <strings.h> via the default _BSD_VISIBLE pollution in <string.h>. In C++ there was a fatal error: the declaration specifies C linkage but the implementation gives C++ linkage. In C there was only a static/extern mismatch if the headers were included in a certain order order, and a partially redundant declaration for all include orders; gcc emits incomplete or wrong diagnostics for these, but only for compiling with -Wsystem-headers and certain other warning options, so the problem was usually not seen for C. Ports breakage reported by: kris
* | Add clone_setup() function rather than rely on lazy initialization.phk2004-03-117-9/+19
| | | | | | | | Requested by: rwatson
* | Fixed assorted misuses of NULL in integer context.bde2004-03-1112-16/+16
| |
* | Fixed mispellings of '\0' as NULL.bde2004-03-112-4/+4
| |
* | Fixed a misspelling of 0 as NULL.bde2004-03-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed a nearby bug. The "play it safe" code in dosysctl() was unsafe because it overran the buffer by 1 if sysctl() filled all of the buffer. Fixed a nearby style bug in output. Not just 1, but 2 extra newlines were printed at the end by "vmstat -m" and "vmstat -z". Don't print any newlines explicitly. This depends on 2 of the many formatting bugs in the corresponding sysctls. First, the sysctls return an extra newline at the end of the strings. This also messes up output from sysctl(8). Second, the sysctls return an extra newline at the beginning of the strings. This is good for separating the 2 tables output by "vmstat -mz" and for starting the header on a new line in plain sysctl output, but gives a bogus extra newline at the beginning for "vm -[m | z]" and "sysctl -n [kern.malloc | vm.zone]". Fixed some nearby style bugs in the source code: - the same line that misspelled 0 as NULL also spelled NULL as 0. - the size was doubled twice in the realloc loop. - the "play it safe" comment was misleading. Terminating the buffer is bogus because dosysctl() is only meant to work with sysctls that return strings and the terminator is part of a string. However, the kern.malloc sysctl has more than style bugs. It also doesn't return a string. Termination is needed to work around this bug.
* | Replace <iostream.h> with <iostream> to remove annoying warningjosef2004-03-111-13/+13
| | | | | | | | | | | | | | | | | | of using deprecated header. Approved by: dwhite, simon(mentor) Reviewed by: mlaier Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: bin/63781
* | Fixed a misspelling of '\0' as NULL.bde2004-03-111-1/+1
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-3/+3
| |
* | Fixed misspellings of '\0' as NULL.bde2004-03-111-4/+4
| |
* | Fixed a misspelling of 0 as NULL.bde2004-03-112-2/+2
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-2/+2
| |
* | Fixed misspellings of 0 as NULL.bde2004-03-111-3/+2
| |
* | Fix mind-o: sanity check in ndis_disable_ndis() is not sane.wpaul2004-03-111-1/+1
| |
* | Fix the problem with the Cisco Aironet 340 PCMCIA card. Most newer driverswpaul2004-03-112-0/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for Windows are deserialized miniports. Such drivers maintain their own queues and do their own locking. This particular driver is not deserialized though, and we need special support to handle it correctly. Typically, in the ndis_rxeof() handler, we pass all incoming packets directly to (*ifp->if_input)(). This in turn may cause another thread to run and preempt us, and the packet may actually be processed and then released before we even exit the ndis_rxeof() routine. The problem with this is that releasing a packet calls the ndis_return_packet() function, which hands the packet and its buffers back to the driver. Calling ndis_return_packet() before ndis_rxeof() returns will screw up the driver's internal queues since, not being deserialized, it does no locking. To avoid this problem, if we detect a serialized driver (by checking the attribute flags passed to NdisSetAttributesEx(), we use an alternate ndis_rxeof() handler, ndis_rxeof_serial(), which puts the call to (*ifp->if_input)() on the NDIS SWI work queue. This guarantees the packet won't be processed until after ndis_rxeof_serial() returns. Note that another approach is to always copy the packet data into another mbuf and just let the driver retain ownership of the ndis_packet structure (ndis_return_packet() never needs to be called in this case). I'm not sure which method is faster.
* | Be more insistent on destroying geoms at unload time. Still not perfect,phk2004-03-111-2/+8
| | | | | | | | | | | | | | | | but it will do (better) for now. KASSERT that to have providers a class must have an access method. Tag the new_provider event with the geom as well.
* | Add a newsyslog.conf manual page. This follows suit with the other utilitiestrhodes2004-03-112-0/+371
| | | | | | | | | | | | | | | | | | which have configuration files. This is just a cut-paste from newsyslog.8 with the following changes: o Kill hard sentence breaks. o Markup fixes. o Wordsmithing.
* | Remove information about the configuration file.trhodes2004-03-111-308/+3
| | | | | | | | Add an Xref to newsyslog.conf.5 and bzip2.1.
* | Back out id -g checks as they are wrong (sendmail group untouched).mlaier2004-03-111-8/+0
| | | | | | | | | | Requested by: dwhite Approve by: dwhite
* | Remove stale or broken call to kdb_trap() and protected by the non-marcel2004-03-112-8/+0
| | | | | | | | | | option KDB. Besides being wrong, it also interferes with ongoing work.
* | Give xterm-basic the le entry. bs should be avoided.schweikh2004-03-101-1/+1
| | | | | | | | | | | | | | | | This is a prerequisite to fix PR: bin/48679 Discussed with: Thomas Dickey (xterm termcap maintainer) MFC after: 2 weeks
OpenPOWER on IntegriCloud