summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Grammar nits.ru2002-10-211-2/+2
| | | | Submitted by: Ken Stailey <kstailey@speakeasy.net>
* Deorbit complete. We dont build these anymore, so into the attic they go.markm2002-10-21509-115054/+0
|
* Track changed definition of the debug registers.phk2002-10-211-2/+4
| | | | Sorry for missing this the first time.
* Add the USER_SR segment register to pcb state. Initialize correctly,grehan2002-10-217-0/+22
| | | | | | | | | and save/restore during a context switch. The USER_SR could be overwritten when the current thread was switched out with a faulting copyin/copyout. Approved by: Benno
* I overlooked an absolute path.phk2002-10-211-1/+1
| | | | Submitted by: Henric Jungheim <henric@attbi.com>
* All bpf.h/NBPF consumers are gone so stop generating bpf.hbrooks2002-10-211-3/+0
|
* Don't include the depricated "bpf.h" and always compile in bpf supportbrooks2002-10-212-21/+1
| | | | as per current practice.
* Implement working on ELF corefiles. Use kvm_read() when readingmarcel2002-10-211-122/+135
| | | | | | | memory while mapping a virtual address to a physical address. This allows us to work with virtual addresses for page tables, provided it doesn't cause infinite recursion. Currently all page tables are direct mapped.
* Add a twiddle to create PTY's with a biba/equal or mls/equal labelrwatson2002-10-212-0/+18
| | | | | | | | | instead of the default biba/high, mls/low, making it easier to use ptys with these policies. This isn't the final solution, but does help. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Unhook the per-policy parsing/printing MAC modules in libc to preparerwatson2002-10-217-815/+5
| | | | | | | | | to bring in the new MAC label management API. With the new API revision, we have only policy-agnostic code in libc and the base kernel. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* track gratuitous change to sys/i386/include/reg.hsam2002-10-212-4/+4
|
* Use if_printf(ifp, "blah") instead of printf("ppp%d: blah", ifp->if_unit).brooks2002-10-211-15/+13
|
* Use if_printf(ifp, "blah") instead of printf("vlan%d: blah", ifp->if_unit).brooks2002-10-211-2/+2
|
* Use if_printf(ifp, "blah") instead of printf("sl%d: blah", sc->sc_if.if_unit).brooks2002-10-211-2/+1
|
* Make static in our normal manner.obrien2002-10-211-1/+1
| | | | Submitted by: bde
* Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead ofbrooks2002-10-212-33/+32
| | | | | printf("%s%d: blah", ifp->if_name, ifp->if_xname). This eliminates the need to store the unit number in the softc.
* Use if_printf(ifp, "blah") instead ofbrooks2002-10-2115-29/+15
| | | | printf("%s%d: blah", ifp->if_name, ifp->if_xname).
* crash(8) is a manual page, not a `section'.keramida2002-10-211-1/+2
|
* Minor typo fixes.keramida2002-10-211-3/+3
|
* Use .Ed to terminate .Bd display.keramida2002-10-211-1/+1
|
* Fixed some unsorting.bde2002-10-211-20/+21
|
* Unbreak Alpha world.obrien2002-10-211-0/+6
| | | | | | | | | We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments", however it appears that there really is only one PT_LOAD segment in the groff binary. It is unclear if `rtld' or `ld' is at fault here -- but using an RELENG_4 `ld' binary allows one to build a working dynamic groff binary. Submitted by: gallatin
* Use a warns setting we can catch regressions with.obrien2002-10-201-3/+1
|
* In cb_dumphdr() we were calling buf_write() with di->priv as themarcel2002-10-201-1/+1
| | | | | | | | | pointer to a dumperinfo instead of di. A brainfart, surely. This bug went unnoticed for all this time because the pointer is only used by buf_write() when it can write a completely filled buffer to the dump device. This depends on the number of memory chunks that needs to be dumped. This has apparently been low enough that it has never happened up until this point.
* Fix the calculations of the length of the unread message buffertmm2002-10-201-2/+2
| | | | | | | | | | contents. The code was subtracting two unsigned ints, stored the result in a log and expected it to be the same as of a signed subtraction; this does only work on platforms where int and long have the same size (due to overflows). Instead, cast to long before the subtraction; the numbers are guaranteed to be small enough so that there will be no overflows because of that.
* Use more verbose diagnostics for wrong DIGIT rangeache2002-10-201-5/+5
|
* Hook up opt_mac.h to the build dependencies. The way we currentlyrwatson2002-10-201-1/+1
| | | | | | | handle this stuff is dangerous. :-) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add opt_mac.h to dependencies for if_stf.c module.rwatson2002-10-201-1/+1
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Fix two instances of variant struct definitions in sys/netinet:phk2002-10-209-89/+52
| | | | | | | | | | | | | | Remove the never completed _IP_VHL version, it has not caught on anywhere and it would make us incompatible with other BSD netstacks to retain this version. Add a CTASSERT protecting sizeof(struct ip) == 20. Don't let the size of struct ipq depend on the IPDIVERT option. This is a functional no-op commit. Approved by: re
* Missed a case of _POSIX_MAC_PRESENT -> _PC_MAC_PRESENT rename.rwatson2002-10-201-2/+2
| | | | Pointed out by: phk
* Do not try to work around ``poor (un)sign extension code''robert2002-10-201-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creation by GCC-2.6.3. Casting pointers to unsigned char to volatile pointers to unsigned char seemed to produce better results on the ia32 architecture with old versions of GCC. The current FreeBSD system compiler GCC-3.2.1 emits better sign extension code for non-volatile variables: volatile char c; int i = c; is compiled to: ... movb -1(%ebp), %al movbsl %al, %eax movl %eax, -8(%ebp) ... char c; int i = c; is compiled to: ... movbsl -1(%ebp), %eax movl %eax, -8(%ebp) ... The same holds for zero-extension of dereferenced pointers to volatile unsigned char. When compiled on alpha or sparc64, the code produced for the two examples above does not differ.
* When dumping thread info, only include the filename and line if we actuallyjmallett2002-10-201-3/+9
| | | | | | | know what file! (Prevents use of NULL). MFC after: 1 day Reviewed by: deischen
* Always put the "access" macro argument in (), it might be an expression.phk2002-10-201-18/+18
| | | | This is a purely stylistic change.
* No need to specify CTLTYPE_INT when we use SYSCTL_INT.phk2002-10-201-7/+7
|
* When packets pass in and out of six-to-four (STF) tunnels, performrwatson2002-10-201-0/+15
| | | | | | | | | | | labeling checks and operations as with other network interfaces. Eventually, if it proves desirable, we might want to offer special casing of this or other tunnel interfaces where we have an existing label of interest, rather than treating it as though it's an entirely fresh mbuf in the incoming/outgoing encapsulation directions. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* We have mem{cpy,cmp,set} functions in the kernel, don't #define them tophk2002-10-201-3/+0
| | | | | | b{copy,zero,cmp} functions anymore. Spotted by: FlexeLint.
* We have memset() and memcpy() in the kernel now, so we don't need tophk2002-10-201-5/+0
| | | | | | #define them to bzero and bcopy. Spotted by: FlexeLint
* When a packet is sent via a FDDI interface, perform appropriate MACrwatson2002-10-201-0/+12
| | | | | | | | | transmission checks; when it is received, label the packet appropriately. Although we don't have a local FDDI setup to test this with, the labeling and checks are identical to other interface classes. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* When a packet is destined for delivery via an ATM medium, performrwatson2002-10-201-0/+11
| | | | | | | | | | appropriate interface transmission checks and delivery labeling. While we don't have a local ATM configuration, this code is almost identical to all other interface classes. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Another baby step toward getting sysinstall working:sam2002-10-201-77/+128
| | | | | | | | | | | | o fillin media s/h/c fields from new XML phk just added; need this because sysinstall uses them in the fdisk look-alike o add new tags to xml parser o cleanup parser a touch; remove unused tags and move tag parsing stuff to a table to simplify future additions o redo callback to pass 64-bit values since mediasize overflows u_int32_t o loosen parsing sanity checks a touch to deal with new xml we must handle o move sector size probing to non-geom handling since we now get it from xml o remove WHOLE_DISK_SLICE buggery now that we get mediasize from xml
* Add devd to the build.imp2002-10-201-0/+1
|
* devd. A daemon that hooks into the kernel's /dev/devctl to produceimp2002-10-209-0/+852
| | | | | | | | | | | | | | arbitrary commands when devices come and go in the device tree (which is different than the /dev directory). This is an initial version. Much of the planned power isn't here. Instead of doing the full matching, we always run /etc/devd-generic. /etc/devd.generic will go away at some point, I think. I'm committing it in this early state so I can start getting feedback from early adapters. Approved by: re
* Rename _POSIX_FOO_PRESENT and friends from POSIX.1e to _PC_FOO_PRESENTrwatson2002-10-202-9/+8
| | | | | | | and related friends. This would have been corrected had POSIX.1e progressed to a standard. Pointed out by: wollman
* Implement _POSIX_ACL_PATH_MAX, which returns the maximum number of ACLrwatson2002-10-201-0/+10
| | | | | | | entries for a file system node using pathconf(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* When a packet is multicast encapsulated, give labeled policies therwatson2002-10-201-0/+5
| | | | | | | opportunity to preserve the label. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Set kernelname in sparc64_init() so that the kern.bootfilemux2002-10-201-0/+6
| | | | | | sysctl works. This stuff should probably be made MI. Reviewed by: jake
* Don't examine an un-initialized variable.phk2002-10-201-4/+0
| | | | Spotted by: FlexeLint.
* Teach UFS to respond to pathconf() tests for _POSIX_ACL_EXTENDED andrwatson2002-10-201-0/+20
| | | | | | | | _POSIX_MAC_PRESENT based on available mount flags, if the services are available. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Correct mis-spelling in pathconf constant _POSIX_ACL_CAP_PRESENT torwatson2002-10-201-1/+1
| | | | be the more correct _POSIX_CAP_PRESENT.
* Split out most of the logic from in_pcbbind() into a new functioniedowse2002-10-202-36/+66
| | | | | | | | | | | called in_pcbbind_setup() that does everything except commit the changes to the PCB. There should be no functional change here, but in_pcbbind_setup() will be used by the soon-to-appear IP_SENDSRCADDR control message implementation to check or allocate the source address and port. Discussed on: -net Approved by: re
OpenPOWER on IntegriCloud