summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mention in the BUGS section that write and wall bogusly use the sender'stjr2004-07-172-1/+15
| | | | | LC_CTYPE setting instead of the receiver's when determining which characters are printable.
* Document incorrect handling of multibyte characters.tjr2004-07-175-5/+23
|
* MFamd64 revision 1.478alc2004-07-171-6/+5
| | | | Simplify pmap_remove_pages(), eliminating unnecessary indirection.
* Document the limitation that multibyte characters cannot be used astjr2004-07-171-1/+6
| | | | delimiters with the 's' and 'y' commands.
* Make M_SKIP_FIREWALL a global (and semantic) flag, preventing anything fromjmallett2004-07-172-14/+2
| | | | | | | | | | | using M_PROTO6 and possibly shooting someone's foot, as well as allowing the firewall to be used in multiple passes, or with a packet classifier frontend, that may need to explicitly allow a certain packet. Presently this is handled in the ipfw_chk code as before, though I have run with it moved to upper layers, and possibly it should apply to ipfilter and pf as well, though this has not been investigated. Discussed with: luigi, rwatson
* Support a ``set rad_alive N'' command to enable periodic RADIUS accountingbrian2004-07-177-42/+190
| | | | | | | | | | | information being sent to the RADIUS server. Logging of RADIUS accounting information moves to a ``set log [+-]radius'' level, along with the RADIUS alive info, and the version number is bumped to 3.2 to reflect this. Mostly submitted by: alx@sm.ukrtel.net (back in January) MFC after: 3 weeks
* Give the most awesome example of how to parse the output of datealfred2004-07-171-0/+8
| | | | | | back into epoch time. Everytime I'm asked to do this by someone I have to spend about ten minutes recreating the same command line. So record it under examples.
* Be consistant with probeimp2004-07-161-2/+1
|
* Ignore more strange return values of the test_aux_port() function,mux2004-07-162-12/+20
| | | | | | | | | | because some notebooks (apparently Compaq, Toshiba and Acer ones) erroneously return 2 or 3 there. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen <lulf@kerneled.org>, Victor Balada Diaz <victor@alf.dyndns.ws> MFC after: 3 days
* Fix the build. pcm is no more.ps2004-07-161-4/+0
|
* Request that diffs against nfs, rpc and rpc.lockd are run by me.alfred2004-07-161-1/+3
|
* Remove dead or unused code, such as spl calls.alc2004-07-161-25/+0
|
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsjhb2004-07-169-24/+31
| | | | | | | | | since they are only accessed by curthread and thus do not need any locking. - Move pr_addr and pr_ticks out of struct uprof (which is per-process) and directly into struct thread as td_profil_addr and td_profil_ticks as these variables are really per-thread. (They are used to defer an addupc_intr() that was too "hard" until ast()).
* Whitespace fix.jhb2004-07-161-1/+1
|
* Improve readability a bit by changing some code at the end of a functionjhb2004-07-161-6/+2
| | | | | | | | | | | | | | | | that did: if (foo) return else blah to just do the simpler if (!foo) blah instead.
* /usr/libexec/ld-elf.so.1 -> /libexec/ld-elf32.so.1obrien2004-07-161-1/+1
|
* Forced commit to actually list the changes of bin/61718, as requested by sam.mr2004-07-160-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch fixes a number of problems present in rpc.lockd. 1) Nfslocklist_head.lf_first is overwritten because of an off-by-one-bug that happens when clnt_cache_next_to_use is incorrectly incremented. 2) 'struct sockaddr *addr' inside 'struct file_lock' is set to point to the result from svc_getrpccaller(). This value is malloc:ed inside the rpc libraries and is free:ed when clnt_destroy() is called. Fix, maintain a copy of the result. 3) The loop inside retry_blockingfilelocklist() that uses 3 pointers ifl, nfl, and pfl thrashes the list pointed to by blockedlocklist_head.lf_first. Fix, use a simpler loop. The new loop does not preserve list order but the order is immaterial anyways. See also revison 1.6-1.7 and kern/61122. 4) struct file_lock char client_name[SM_MAXSTRLEN]; and struct host char name[SM_MAXSTRLEN]; Be careful to not create open (non 0 terminated) C strings and later passing them to e.g syslog. Fix, make sure that the strings are always terminated with 0. When at it, move the strings to the end of the structs and make them variable length. This saves about 1000 bytes for every malloc:ed struct. 5) The newfl = malloc(sizeof(struct file_lock)) memory was never properly bzero:ed. Minor changes: A) Nlmtonlm4(0) made assumptions about struct layouts. B) Don't close stdout and stderr when debugging (-d option). C) Remove unused pid_t locker and int fd in struct file_lock. D) s/printf/debuglog/ E) Remove redundant sleep(1) and call to debuglog(). Cheers, Björn
* Use ACPI_ALL_NOTIFY instead of registering handlers separately.njl2004-07-162-8/+4
|
* Fix the alpha (and others) module build by only building fdc_acpi.c onnjl2004-07-161-7/+9
| | | | | i386 and amd64. The only other ACPI machine (ia64) doesn't support floppy drives. Tested by: make MACHINE={pc98,i386,amd64,alpha,sparc64}
* when IN6P_AUTOFLOWLABEL is set, the flowlabel is not set onume2004-07-161-2/+10
| | | | | | | | outgoing tcp connections. Reported by: Orla McGann <orly@cnri.dit.ie> Reviewed by: Orla McGann <orly@cnri.dit.ie> Obtained from: KAME
* According to POSIX sys/socket.h must define CMSG_NXTHDR but most notharti2004-07-161-1/+1
| | | | | | | | define NULL. This means we cannot use NULL in the definition of CMSG_NXTHDR. So replace NULL with 0. PR: kern/60309 Submitted by: Jeff King <peff-freebsd@peff.net>
* Document the MSG_DONTWAIT flag.harti2004-07-161-1/+8
|
* Fix acpi_video loading. When we started cleaning up the duplicate handlesnjl2004-07-161-5/+4
| | | | | | | | | | | | | | | left around after the PCI probe, acpi_video stopped attaching because while it was an acpi child device, it really is a PCI device. Fix this by making it a PCI child. * Remove non-handle ivars accesses since child busses only implement acpi_get_handle(). * Access the acpi softc directly through the devclass instead of through the implied parent. * Clean up a potential panic on unload by freeing the sysctl context before storing NULL in the OID. Found by: marks
* Add a SUSER_RUID flag to suser_cred. This flag indicates that we want tocperciva2004-07-162-3/+3
| | | | | | | check if the *real* user is the superuser (vs. the normal behaviour, which checks the effective user). Reviewed by: rwatson
* After talking to Colin,mr2004-07-163-64/+70
| | | | | | | | apply the patch of bin/61718 (which should include/elimatate kern/61122 also). It seems to fix a few annoying bugs. PR: bin/61718, kern/61122 Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de
* Include <string.h> to get memset and strcmp prototype.johan2004-07-162-1/+3
| | | | | | Sort includes. This is now WARNS=2 clean, bump WARNS to keep it clean.
* Refer to the sysutils/cdrtools port now that the sysutils/mkisofs portkeramida2004-07-161-1/+4
| | | | | | | | has been merged into the former. PR: docs/69087 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> MFC after: 3 days
* Sync the example of MODULES_OVERRIDE with the renamed sound drivers.tanimura2004-07-161-1/+1
| | | | Pointed out by: Christoph Mallon <christoph.mallon@gmx.de>
* Rename snd_pcm as sound.tanimura2004-07-161-1/+1
|
* Update for struct cdevsw and dev_t -> struct cdev * changes, plus onetjr2004-07-162-7/+9
| | | | 64-bit portability fix.
* Tweak the conditions under which certain gcc builtins are used:das2004-07-161-2/+2
| | | | | | | | | | | | - Unlike the builtin relational operators, builtin floating-point constants were not available until gcc 3.3, so account for this.[1] - Apparently some versions of the Intel C Compiler fallaciously define __GNUC__ without actually being compatible with the claimed gcc version. Account for this, too.[2] [1] Noticed by: Christian Hiris <4711@chello.at> [2] Submitted by: Alexander Leidinger <Alexander@Leidinger.net>
* Add support for multibyte characters.tjr2004-07-161-4/+9
|
* ptrace's first parameter is command not pid. pointy hat to me.davidxu2004-07-161-2/+6
|
* Add a cross reference to fgetwln(3).tjr2004-07-161-0/+1
|
* Add fgetwln(), a wide character version of fgetln().tjr2004-07-164-2/+193
|
* Rename slbexpand() to __slbexpand() and make it available outsidetjr2004-07-162-4/+5
| | | | of fgetln.c (non-static).
* Avoid passing negative values to <ctype.h> functions on machines withtjr2004-07-161-3/+3
| | | | signed chars.
* Document incorrect handling of multibyte characters.tjr2004-07-161-1/+3
|
* Update config.h to account for the prgregset_t and psaddr_t typesmarcel2004-07-165-10/+10
| | | | | | that have been added to <sys/procfs.h>. This change has no effect because the source file that would be affected is not compiled on FreeBSD. Hence, this is for completeness only.
* Add the change of the sound drivers.tanimura2004-07-161-0/+5
|
* Rename the sound device drivers:tanimura2004-07-1636-156/+181
| | | | | | | | | | | | | | - `sound' The generic sound driver, always required. - `snd_*' Device-dependent drivers, named after the sound module names. Configure accordingly to your hardware. In addition, rename the `snd_pcm' module to `sound' in order to sync with the driver names. Suggested by: cg
* Remove unused fields from the pmap.alc2004-07-162-4/+0
|
* As per discussions on current@, protect unsuspecting users frommarcel2004-07-161-2/+16
| | | | | | | | | | | trying to upgrade their system with make world instead of following the preferred and suggested sequence of commands. The fact remains that make world does not upgrade the kernel. Allow make world when DESTDIR has been specified, including when DESTDIR specifies the root file system. Otherwise, print a useful warning and fail. Reviewed, tested and scrutinized by: gad@
* Update Biba and MLS man pages to take into account recent renaming ofrwatson2004-07-162-12/+12
| | | | the 'single' label element to 'effective.
* Rename Biba and MLS _single label elements to _effective, which morerwatson2004-07-164-353/+353
| | | | | | | | | accurately represents the intention of the 'single' label element in Biba and MLS labels. It also approximates the use of 'effective' in traditional UNIX credentials, and avoids confusion with 'singlelabel' in the context of file systems. Inspired by: trhodes
* Clarify getfsstat(2) usage.alfred2004-07-161-1/+6
| | | | | | | | | The getfsstat(2) function expects a buffer and a count, and returns a count. The confusing part is that the count it takes is a byte count, while the return value is a count of the number of structures it has filled out. Spell this out.
* When entering soclose(), assert that SS_NOFDREF is not already set.rwatson2004-07-161-0/+2
|
* Use qsort_r() instead of qsort() when sorting links by latencyglebius2004-07-161-20/+5
| | | | | | | This helps us to remove a global variable and a mutex protecting it. Reviewed by: rwatson Approved by: julian (mentor)
* Copy qsort_r(3) from libc to libkern.glebius2004-07-154-24/+52
| | | | | Reviewed by: phk Approved by: julian (mentor)
* fix array index out of bounds in rpc->rc_srtt[], rpc->rc_sdrtt[]rees2004-07-151-3/+3
| | | | | Noticed by: tedu Approved by: alfred
OpenPOWER on IntegriCloud