summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename VOP_RMEXTATTR() to VOP_DELETEEXTATTR() for consistency with therwatson2003-07-288-56/+176
| | | | | | | | | | | | kernel ACL interfaces and system call names. Break out UFS2 and FFS extattr delete and list vnode operations from setextattr and getextattr to deleteextattr and listextattr, which cleans up the implementations, and makes the results more readable, and makes the APIs more clear. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Pacify src/tools/tools/release/chk_dokern.sh_and_drivers.conf.ru2003-07-282-6/+0
|
* A simple tool to sanity check the contents of release/*/dokern.shru2003-07-281-0/+55
| | | | and release/*/drivers.conf.
* Allow sleep states to be specified as S1, S2, ...njl2003-07-282-1/+5
| | | | This is used by zzz(8).
* When exporting file descriptor data for threads invoking therwatson2003-07-281-0/+11
| | | | | | | | | | | | | | | | | | | kern.file sysctl, don't return information about processes that fail p_cansee(td, p). This prevents sockstat and related programs from seeing file descriptors owned by processes not in the same jail as the thread, as well as having implications for MAC, etc. This is a partial solution: it permits an information leak about the number of descriptors in the sizing calculation (but this is not new information, you can also get it from kern.openfiles), and doesn't attempt to mask file descriptors based on the properties of the descriptor, only the process referencing it. However, it provides most of what you want under most circumstances, without complicating the locking. PR: 54211 Based on a patch submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* Add support for CBR and VBR PVCs. Enhance the error handling forharti2003-07-283-39/+159
| | | | | | | the 'add pvc' command. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 2 weeks
* Dhclient can't block anymore during startup. Documentmbr2003-07-281-4/+4
| | | | the 'background_dhclient' better.
* Convert the atm{2,3}.sh rc scripts to normal rc.d scripts. Add supportharti2003-07-287-215/+110
| | | | | | | | | | | | | | for the harp(4) pseudo driver and for loadable native HARP drivers (like hfa_pci). To use harp(4) the rc variable natm_interfaces must be set to the list of NATM interfaces to be used for HARP. These interfaces will be brought up with ifconfig and the harp(4) will be loaded. To use loadable native HARP drivers atm_load must be set to the list of drivers to load. Reviewed by: mtm, gordon (partly)
* Don't wait forever if there is no link, go to backgroundmbr2003-07-281-0/+2
| | | | after 2 x polling time.
* Change the default for background_dhclient back to NO. It canmbr2003-07-281-1/+1
| | | | cause to much troubles with applications.
* Define $FreeBSD$ at the right place.mbr2003-07-282-5/+3
|
* Make this compile on 64 bit systems again. You cannot just cast a 32 bitpeter2003-07-281-1/+1
| | | | int to a 64 bit pointer. This file is already off the vendor branch.
* DATE and PATCH are always defined, but may be empty.des2003-07-281-2/+2
|
* Remove redundant "targets", add NOLIBC_R and NOFORTH to environmentdes2003-07-282-2/+2
|
* Install experimental.rcdes2003-07-281-1/+1
|
* Document --dumpdes2003-07-281-0/+2
|
* Revive the powerpc tinderbox that used to run on 9ball.des2003-07-282-0/+20
|
* stanley uses a different sandbox.des2003-07-282-0/+2
|
* Don't mail out failure reports from stanley.des2003-07-282-0/+2
|
* - add a -d option which dumps the configuration and exitsdes2003-07-281-5/+28
| | | | | | - initialize single-valued configuration variables to '' rather than undef - allow empty values in configuration files - take care to untaint $etcdir
* Enable dhclient to poll the interface state and send onlymbr2003-07-286-7/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode Enable dhclient to poll the interface state and send only requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode while the network cable is not plugged in. To control the polling interval, the option -i has been introduced. It takes seconds as parameter, the minimum is one second, the default is five seconds. Polling is done in seconds, not microseconds, because dhclient does internally work with timeouts in seconds. This change will be part of the next major ISC-dhcpd release. Tested by: bms, imp, and many many others. Reviewed by: murray, eivind, dhclient folks
* Document background_dhclient.mbr2003-07-281-0/+8
|
* Always start dhclient in the background.mbr2003-07-282-0/+5
| | | | Reviewed by: mtm
* Make atm WARNS=6 clean. The changes are mostly:harti2003-07-2810-382/+299
| | | | | | | | | | | - remove some instances of __P() - use real prototypes and un-K&R function headers - constify where necessary (mostly strings and structures containing strings) - make functions and variables static that need not to be global - tag unused function parameters as __unused Testing: a fresh universe
* Add a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes tonjl2003-07-286-4/+21
| | | | | | | | | | receive 6 byte commands. Add a check for this flag to da(4) and cd(4) so that they honor it. This is a quick workaround for many devices (especially USB) that require da(4) quirks to operate. The more complete approach is to finish the new transport code which will be aware of the SCSI version a transport implements. MFC after: 1 day
* None of the "alloc" functions used by UMA assume that Giant is held anyalc2003-07-281-9/+2
| | | | | longer. (If they still need it, e.g., contigmalloc(), they acquire it themselves.) Therefore, we need not acquire Giant in slab_zalloc().
* auth.conf seems to be being gradually subsumed by user classesrwatson2003-07-281-5/+3
| | | | | | | | | and PAM configuration. Remove the line concerning "auth_list" from the template, since it's referenced only in the tinyware password command, and only #ifdef KERBEROS, which isn't defined in tinyware. Add a comment about auth.conf being on the way out the door. The one remaining consumer of auth.conf is crypt(3).
* The LP_ETH_10_100_CF entry needs to be tagged as a DL100019.imp2003-07-281-1/+1
| | | | Submitted by: Scott Renfro
* Reset the per-CPU unique value at boot and clear it in the PCB of themarcel2003-07-273-3/+9
| | | | | | child when forking. This provides a consistent initial state. Note that cpu_set_upcall() does not clear the per-CPU unique value as it is followed by a call to set_mcontext(), which sets it accordingly.
* Make pmap_pvo_allocf() callable without Giant.alc2003-07-273-18/+18
|
* Add -dynamic to natd if dhcp is used for the natd interface.mbr2003-07-271-0/+13
| | | | | | Kill natd in stop(). Reviewed by: mtm
* Pass the file descriptor index down to vn_open.phk2003-07-272-2/+26
| | | | | If the method vector was replaced and we got the "special return code" smile and trust that whatever happened below DTRT.
* Pass the fdidx argument from vn_open{_cred}() onto VOP_OPEN()phk2003-07-271-3/+3
|
* Remove GIANT_REQUIRED from kmem_alloc().alc2003-07-271-2/+0
|
* Some Typos fixgioria2003-07-271-15/+19
|
* Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout.phk2003-07-2717-23/+24
|
* Call the new argument "fdidx" that is more precise than "fd".phk2003-07-271-1/+1
|
* Try a lot harder to get dependancies right. This involves some uglymarkm2003-07-271-10/+30
| | | | | | | | | looking ${.OBJDIR} work that has the up-side of actually working in upgrade and make -jN cases. This needs to be revisited further, and it is conceivable that the ${.OBJDIR} stuff can be simplified, but the sheer number of edge cases and other causes make this Hard(tm). For now, this works.
* ip6fw does not handle ESP correctlyume2003-07-271-0/+1
| | | | | | PR: kern/54874 Submitted by: JINMEI Tatuya <jinmei@shuttle.wide.toshiba.co.jp> MFC after: 1 week
* Respect BUS_DMA_ZERO in iommu_dvmamem_alloc().tmm2003-07-271-3/+10
|
* Use the BUS_DMA_ZERO flag.mux2003-07-272-12/+5
|
* Now that we can call kmem_malloc without Giant it should be safedwmalone2003-07-271-2/+0
| | | | | to do mbuf allocation without Giant, so remove the GIANT_REQUIRED from mb_alloc in the M_TRYWAIT case.
* Enable the safe, harp, hatm and patm driver documentations for pc98.nyan2003-07-272-8/+8
|
* Document the new BUS_DMA_ZERO flag.mux2003-07-271-0/+2
|
* Changed the data types of three index variables, two of themrobert2003-07-271-3/+3
| | | | | | | | | in the `video_state' structure, to larger ones (from u_char to u_short). Each can now hold values at least as large as the size of the array it is meant to point into. This eliminates warnings printed by GCC 3.3.1 and hence makes pcvt compilable using -Werror.
* Use the BUS_DMA_ZERO flag.mux2003-07-273-8/+4
|
* Use the BUS_DMA_ZERO flag instead of bzero()'ing DMA memory.mux2003-07-271-5/+2
|
* - Introduce a new busdma flag BUS_DMA_ZERO to request for zero'edmux2003-07-2713-44/+72
| | | | | | | memory in bus_dmamem_alloc(). This is possible now that contigmalloc() supports the M_ZERO flag. - Remove the locking of Giant around calls to contigmalloc() since contigmalloc() now grabs Giant itself.
* Try a lot harder to get dependancies right. This involves some uglymarkm2003-07-271-4/+8
| | | | | | | | | looking ${.OBJDIR} work that has the up-side of actually working in upgrade and make -jN cases. This needs to be revisited further, and it is conceivable that the ${.OBJDIR} stuff can be simplified, but the sheer number of edge cases and other causes make this Hard(tm). For now, this works.
* Fix some off-by-one errors dealing with limits of server names,tjr2003-07-271-5/+5
| | | | | | | | usernames, workgroup names and passwords. We can now connect to servers with 15-character NetBIOS names. (Some versions of Windows use semi-random 15-char names by default.) PR: 46902
OpenPOWER on IntegriCloud