summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* A cute yet small MAC policy that provides a simple ACL mechanism torwatson2003-03-023-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | permit users and groups to bind ports for TCP or UDP, and is intended to be combined with the recently committed support for net.inet.ip.portrange.reservedhigh. The policy is twiddled using sysctl(8). To use this module, you will need to compile in MAC support, and probably set reservedhigh to 0, then twiddle security.mac.portacl.rules to set things as desired. This policy module only restricts ports explicitly bound using bind(), not implicitly bound ports where the port number is selected by the IP stack. It appears to work properly in my local configuration, but needs more broad testing. A sample policy might be: # sysctl security.mac.portacl.rules="uid:425:tcp:80,uid:425:tcp:79" This permits uid 425 to bind TCP sockets to ports 79 and 80. Currently no distinction is made for incoming vs. outgoing ports with TCP, although that would probably be easy to add. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Abuse `cleandir' for what `clobber' was supposed to do, for peter.ru2003-03-021-1/+4
|
* Hopefully, obviate the need of ``make depend''.ru2003-02-281-1/+1
|
* Initiate the de-orbit burn sequence for <bsd.kern.mk>.ru2003-02-282-2/+2
| | | | | | | | | Always use sys/conf/kern.mk when building kernel/modules. <bsd.kern.mk> is only preserved for sys/boot/pc98/boot2 for now, but this will be fixed. If there are other users of <bsd.kern.mk>, please let me know. Reminded by: bde
* Standardize handling of locore.[sS] etc. files.ru2003-02-2816-55/+16
| | | | Submitted by: jake, bde, ru
* GC the major number for the network entries.mux2003-02-281-1/+0
|
* 86 ufm: it now uses MAJOR_AUTO.imp2003-02-281-2/+0
|
* NO_GEOM cleanup:phk2003-02-281-1/+0
| | | | | | Convert to "struct disk *" centric API. OK'ed by: sos
* Retire #3: wd.phk2003-02-281-1/+0
|
* Attempt to mark the majors which are used by drivers checked into thephk2003-02-281-108/+112
| | | | CVS tree.
* Sync with bsd.kern.mk.jake2003-02-281-0/+9
| | | | Reminded by: bde
* pccard isn't picky about WHAT major it gets.imp2003-02-281-1/+0
|
* Use MAJOR_AUTO. GC statically assigned majors.jake2003-02-281-2/+0
|
* - Removed various cruft from before we had a hosted toolchain (!).jake2003-02-271-15/+0
| | | | | - Moved special compiler flags to bsd.kern.mk so they get used for modules too.
* Include majors.o in SYSTEM_OBJS to make sparc64 kernels link. This is ajake2003-02-271-1/+1
| | | | quick fix while I work on a better solution.
* Update the comment to reflect new reality.phk2003-02-271-15/+6
| | | | GC more entries.
* GC some more major numbers.phk2003-02-271-12/+0
|
* Use MAJOR_AUTO.phk2003-02-271-1/+0
|
* Add necessary awk magic to create a table of major numbers allocatedphk2003-02-273-1/+29
| | | | in conf/majors so we can avoid autoallocating them in the kernel.
* Mark comments with '#' to make this machine-readablephk2003-02-271-20/+20
|
* Implemented "nooption" and "nomakeoption" config(8) tokens.ru2003-02-262-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | Fixed memory leak in the "nodevice" option implementation. Use these instead of sed(1) in MD NOTES. Use a single makefile (sys/conf/makeLINT.mk) to generate LINT for all architectures. (Previous versions missed the LINT dependency on Makefile, and i386 version also missed the dependency on ${NOTES}.) Fixed bugs in the previous NOTES conversion using the "nodevice" token and sed(1): - i386 LINT lost "device pst". - pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD options, and got needless DPT_* options. - Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV to sparc64 LINT so that it has a chance to config(8). This basically returns us to where we were before.
* Retire the aacd major (151) now that it's no longer needed.scottl2003-02-261-1/+1
|
* NO_GEOM cleanup:phk2003-02-251-3/+3
| | | | Retire major #13 (da), #116 (ad), #157 (ar)
* Move most everything back to a MI NOTES, and use "nodevice" in MD NOTESobrien2003-02-251-0/+183
| | | | | | | Where needed. Use 'sed' for now in place of "nooptions". Add a sparc64 MD NOTES. Reviewed by: arch@
* NO_GEOM cleanup:phk2003-02-251-1/+1
| | | | | Move to new "struct disk *" centric API. Retire major #147 (twed)
* NO_GEOM cleanup:phk2003-02-251-1/+1
| | | | | Move to "struct disk*" centric API. Retire major #131 (mlxd)
* Retire major #133 (amrd).phk2003-02-251-1/+1
|
* Remove support for running in SimOS. The support has rotted overmarcel2003-02-252-4/+0
| | | | | | | | time and there's no indication that it will improve anytime soon. By removing support for SimOS it is possible to build LINT on Alpha, which is considered more important at the moment. Not objected to on: alpha@
* pst(4) should be portable across all our platforms.obrien2003-02-242-3/+3
|
* Add apple partition map GEOM modulegrehan2003-02-241-0/+1
|
* Pass 'nodevice' onto the final output.obrien2003-02-231-1/+1
|
* NO_GEOM cleanup:phk2003-02-231-1/+1
| | | | | | Move to "struct disk *" centered API. Fix some minor nits.
* NO_GEOM cleanup:phk2003-02-231-1/+1
| | | | | | Move ida driver to "struct disk *" centric api. Retire major number 109.
* Mark major 102 unused now that the fla driver no longer needs a major number.phk2003-02-231-1/+1
|
* Add an implementation of strdup() to libkern. Allocated memory is ofrwatson2003-02-231-0/+1
| | | | | | | | | type M_STRING, now defined in malloc.h. Useful when string parsing must occur using the kernel strsep() and we want to avoid toasting the source string. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Move MD devices to <machine>/conf/NOTES.nyan2003-02-231-183/+0
|
* Remove unneeded entries and fix indent.nyan2003-02-231-9/+6
|
* Add a new config option IPSEC_FILTERGIF to control whether or notsam2003-02-232-0/+12
| | | | | | | | | | | | | | | | | packets coming out of a GIF tunnel are re-processed by ipfw, et. al. By default they are not reprocessed. With the option they are. This reverts 1.214. Prior to that change packets were not re-processed. After they were which caused problems because packets do not have distinguishing characteristics (like a special network if) that allows them to be filtered specially. This is really a stopgap measure designed for immediate MFC so that 4.8 has consistent handling to what was in 4.7. PR: 48159 Reviewed by: Guido van Rooij <guido@gvr.org> MFC after: 1 day
* Overhaul the targets and hope this is now much more readable.ru2003-02-212-61/+24
| | | | | | | This adds some orthodox kernel-* and modules-* targets and retires harmful ``clobber''. Now, do we really want to keep the ``modules'' target here?
* First round off updates/fixes to the ATA driver.sos2003-02-201-0/+1
| | | | | | | | | | | | This moves all chipset specific code to a new file 'ata-chipset.c'. Extensive use of tables and pointers to avoid having the same switch on chipset type in several places, and to allow substituting various functions for different HW arch needs. Added PIO mode setup and all DMA modes. Support for all known SiS chipsets. Thanks to Christoph Kukulies for sponsoring a nice ASUS P4S8X SiS648 based board for this work! Tested on: i386, PC98, alpha and sparc64
* Munge the zs sbus attachment to work with fhc. This is a bit of a hack,jake2003-02-191-1/+1
| | | | | but they would otherwise be almost identical so there's not much point in splitting it up further.
* Add drivers for the central and fhc busses found in enterprise classjake2003-02-181-0/+5
| | | | | | | | | | | | UltraSPARCs, and an eeprom attachment for fhc, which allows the date to be set properly on these machines. Central is a wierd bus which seems to only ever have 1 fhc attached to it. FHC (FireHose Controller) is another wierd bus with various things on it depending where its attached. The fhc attached to central has eeprom and zs, and the fhcs which attach directly to nexus have simm-status, environment and other nodes, none of which I'll probably ever have documentation for. Thanks to Ade Lovett for providing access to an 8 cpu e4500.
* Split the arch-specific AGP files into the appropriate files.* and do the sameanholt2003-02-144-6/+13
| | | | | | for the agp module, and add agp to the list of modules to compile for alpha. Add an alpha_mb() to agp_flush_cache for alpha -- it's not correct but may improve the situation, and it's what linux and NetBSD do.
* FB_INSTALL_CDEV not usable on Alpha.obrien2003-02-131-1/+0
|
* Only i386 has npx device.obrien2003-02-131-1/+0
|
* Sort.nyan2003-02-111-1/+1
|
* Switch to use the TSC code i386/i386/tsc.cphk2003-02-111-0/+1
|
* Switch to using the TSC code in i386/i386/tsc.c.phk2003-02-111-0/+1
|
* Move the g_stat struct to its own .h file, we will export it to other code.phk2003-02-081-0/+1
| | | | | | | | | | | | | | | | | | Insted of embedding a struct g_stat in consumers and providers, merely include a pointer. Remove a couple of <sys/time.h> includes now unneeded. Add a special allocator for struct g_stat. This allocator will allocate entire pages and hand out g_stat functions from there. The "id" field indicates free/used status. Add "/dev/geom.stats" device driver whic exports the pages from the allocator to userland with mmap(2) in read-only mode. This mmap(2) interface should be considered a non-public interface and the functions in libgeom (not yet committed) should be used to access the statistics data.
* Put makeoptions DESTDIR=/tmp in NOTES to protect people fromphk2003-02-081-0/+2
| | | | accidentally installing a LINT kernel on their system.
OpenPOWER on IntegriCloud