summaryrefslogtreecommitdiffstats
path: root/sys/conf/files
Commit message (Collapse)AuthorAgeFilesLines
* Evolve the ctlreq interface added to geom_gpt into a genericmarcel2007-02-071-2/+4
| | | | | | | | | | | partitioning class that supports multiple schemes. Current schemes supported are APM (Apple Partition Map) and GPT. Change all GEOM_APPLE anf GEOM_GPT options into GEOM_PART_APM and GEOM_PART_GPT (resp). The ctlreq interface supports verbs to create and destroy partitioning schemes on a disk; to add, delete and modify partitions; and to commit or undo changes made.
* Mark mmc *_if.m files as standard to allow for mmc/sd being compiledimp2007-02-031-2/+2
| | | | | | as a module. Submitted by: Andrea Bittau
* Add a "-o large" mount option for msdosfs. Convert compile-time checks forrodrigc2007-01-301-1/+1
| | | | | | | | | | | | | | | | #ifdef MSDOSFS_LARGE to run-time checks to see if "-o large" was specified. Test case provided by Oliver Fromme: truncate -s 200G test.img mdconfig -a -t vnode -f test.img -u 9 newfs_msdos -s 419430400 -n 1 /dev/md9 zip250 mount -t msdosfs /dev/md9 /mnt # should fail mount -t msdosfs -o large /dev/md9 /mnt # should succeed PR: 105964 Requested by: Oliver Fromme <olli lurza secnetix de> Tested by: trhodes MFC after: 2 weeks
* Add support for serial communication with Windows CE based Handheld Computer.takawata2007-01-281-0/+1
| | | | Obtained from: NetBSD
* MFp4: add basic driver for RTL8305SC switch in PHY emulationticso2007-01-051-0/+1
|
* Build bits for ng_deflate(4) and ng_pred1(4).glebius2006-12-291-0/+2
|
* Break contents of kern_mac.c out into two files following a repo-copy:rwatson2006-12-281-1/+2
| | | | | | | | | | | mac_framework.c Contains basic MAC Framework functions, policy registration, sysinits, etc. mac_syscalls.c Contains implementations of various MAC system calls, including ENOSYS stubs when compiling without options MAC. Obtained from: TrustedBSD Project
* Connect vfs_extattr.c to build by default.rwatson2006-12-231-0/+1
|
* Hook up msk(4) to the build.yongari2006-12-131-0/+1
|
* As Bernd Walter points out, the rlphy is used for more things thanimp2006-12-101-1/+0
| | | | | | | just the intenral phy on parts supported by the rl and re drivers, the RTL8201BL for example. He also sent me a nice picture of hundreds of these chips in a tray to boulder his claim. :-) Therefore remove a comment that suggested that they were...
* Build glue for at45d flash support.imp2006-11-291-1/+1
|
* device-independent implementation of AMRR tx rate control algorithmsam2006-11-261-0/+1
| | | | | Obtained from: openbsd (w/ mods) MFC after: 1 month
* hookup ad7418 and ds1672 driverssam2006-11-191-0/+2
| | | | MFC after: 1 month
* o Add uark(4), a driver for Arkmicro Technologies ARK3116 based serialmaxim2006-11-151-0/+1
| | | | | | | | | adapters. Submitted by: Alex Rodin Obtained from: OpenBSD Reviewed by: -usb MFC after: 6 weeks
* Merge posix4/* into normal kernel hierarchy.trhodes2006-11-111-3/+3
| | | | | Reviewed by: glanced at by jhb Approved by: silence on -arch@ and -standards@
* Add a new priv(9) kernel interface for checking the availability ofrwatson2006-11-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | privilege for threads and credentials. Unlike the existing suser(9) interface, priv(9) exposes a named privilege identifier to the privilege checking code, allowing more complex policies regarding the granting of privilege to be expressed. Two interfaces are provided, replacing the existing suser(9) interface: suser(td) -> priv_check(td, priv) suser_cred(cred, flags) -> priv_check_cred(cred, priv, flags) A comprehensive list of currently available kernel privileges may be found in priv.h. New privileges are easily added as required, but the comments on adding privileges found in priv.h and priv(9) should be read before doing so. The new privilege interface exposed sufficient information to the privilege checking routine that it will now be possible for jail to determine whether a particular privilege is granted in the check routine, rather than relying on hints from the calling context via the SUSER_ALLOWJAIL flag. For now, the flag is maintained, but a new jail check function, prison_priv_check(), is exposed from kern_jail.c and used by the privilege check routine to determine if the privilege is permitted in jail. As a result, a centralized list of privileges permitted in jail is now present in kern_jail.c. The MAC Framework is now also able to instrument privilege checks, both to deny privileges otherwise granted (mac_priv_check()), and to grant privileges otherwise denied (mac_priv_grant()), permitting MAC Policy modules to implement privilege models, as well as control a much broader range of system behavior in order to constrain processes running with root privilege. The suser() and suser_cred() functions remain implemented, now in terms of priv_check() and the PRIV_ROOT privilege, for use during the transition and possibly continuing use by third party kernel modules that have not been updated. The PRIV_DRIVER privilege exists to allow device drivers to check privilege without adopting a more specific privilege identifier. This change does not modify the actual security policy, rather, it modifies the interface for privilege checks so changes to the security policy become more feasible. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov <umka at sevcity dot net>, Skip Ford <skip dot ford at verizon dot net>, Antoine Brodin <antoine dot brodin at laposte dot net>
* Nitpicking.ru2006-11-031-2/+2
|
* Ok, here it is, we finally add SCTP to current. Note that thisrrs2006-11-031-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work is not just mine, but it is also the works of Peter Lei and Michael Tuexen. They both are my two key other developers working on the project.. and they need ata-boy's too: **** peterlei@cisco.com tuexen@fh-muenster.de **** I did do a make sysent which updated the syscall's and sysproto.. I hope that is correct... without it you don't build since we have new syscalls for SCTP :-0 So go out and look at the NOTES, add option SCTP (make sure inet and inet6 are present too) and play with SCTP. I will see about comitting some test tools I have after I figure out where I should place them. I also have a lib (libsctp.a) that adds some of the missing socketapi functions that I need to put into lib's.. I will talk to George about this :-) There may still be some 64 bit issues in here, none of us have a 64 bit processor to test with yet.. Michael may have a MAC but thats another beast too.. If you have a mac and want to use SCTP contact Michael he maintains a web site with a loadable module with this code :-) Reviewed by: gnn Approved by: gnn
* Hook up gjournal bits to the build.pjd2006-10-311-0/+3
| | | | Sponsored by: home.pl
* Add conf file entries for acpi_aiboost drivers.takawata2006-10-301-0/+1
|
* Move "device splash" back to MI NOTES and "files", it's MI.ru2006-10-231-0/+1
|
* Move MI parts of syscons into MI "files".ru2006-10-231-0/+7
|
* Add two new functions to convert FAT filesystem format timestampsphk2006-10-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | to and from struct timespec, to replace the crummy conversion function which have been copy&pasted into three different filesystems already. Apart from general crummyness as indicated by code like: for (year = 1970;; year++) { inc = year & 0x03 ? 365 : 366; if (days < inc) break; days -= inc; } They also contain specialized crummyness which tries to compensate for the general crummyness by caching recent conversion results, with no regard for locking or consistency. These replacement functions are smaller, O(1) and handle the Y2.1K leap-year correctly. Ideally, these functions should live in a module of their own, which the three offending filesystems would depend on, but the size is 877 bytes of code (on i386), so that would be false economy.
* Preliminary MMC stack. This stack supports SD 1.0 cards only, butimp2006-10-201-0/+4
| | | | | | should be easily adapted to SD 2.0 (aka SDHC), SDIO, MMC and MMCplus cards. At the present time, there's only one bridge driver for the ARM9 based Atmel AT91RM9200.
* Collapse the two identical emu10k1-alsa%diked.h creation rules forimp2006-10-171-6/+1
| | | | | | | | | | snd_emu10k1 and snd_emu10kx into one line. The 'pci' dependency here adds no value, so I eliminted it (we don't have a snd.all file that might make it mildly useful, and even then it wouldn't be that useful). With the pci optional component eliminated, I could use the '|' operator. I could have also include pci on both sides of the | operator, but since it isn't a value add at all, it was better to eliminate it.
* Sort libalias files.piso2006-10-081-2/+2
| | | | | Approved by: glebius Reviewed by: glebius, ru
* Added the GEOM_CACHE option.ru2006-10-061-0/+1
| | | | Reminded by: pjd
* Second part of a little cleanup in the calendar/timezone/RTC handling.phk2006-10-021-1/+2
| | | | | | | | | | | Split subr_clock.c in two parts (by repo-copy): subr_clock.c contains generic RTC and calendaric stuff. etc. subr_rtc.c contains the newbus'ified RTC interface. Centralize the machdep.{adjkerntz,disable_rtc_set,wall_cmos_clock} sysctls and associated variables into subr_clock.c. They are not machine dependent and we have generic code that relies on being present so they are not even optional.
* Unbreak build caused by recent envy24/spicds commit.ariff2006-10-011-1/+1
|
* Connect snd_hda(4) to build process...ariff2006-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Add support for Intel High Definition Audio Controller. This driver make a special guarantee that "playback" works on majority hardwares with minimal or without specific vendor quirk. This driver is a product of collaborative effort made by: Stephane E. Potvin <sepotvin@videotron.ca> Andrea Bittau <a.bittau@cs.ucl.ac.uk> Wesley Morgan <morganw@chemikals.org> Daniel Eischen <deischen@FreeBSD.org> Maxime Guillaud <bsd-ports@mguillaud.net> Ariff Abdullah <ariff@FreeBSD.org> ....and various people from freebsd-multimedia@FreeBSD.org Refer to snd_hda(4) for features and issues. Welcome To HDA. Sponsored by: Defenxis Sdn. Bhd.
* Add spicds, envy24ht and remove ak4*.netchild2006-09-301-1/+2
|
* Summer of Code 2005: improve libalias - part 1 of 2piso2006-09-261-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
* Add the mfi_debug.c file and MFI_DEBUG option.scottl2006-09-251-0/+1
|
* remove local changesam2006-09-181-1/+0
| | | | Spotted by: Gavin Atkinson
* nuke unused support for building ath hal from src codesam2006-09-181-6/+7
| | | | MFC after: 1 week
* Do not include ucom as a dependency line to enable inclusion of theimp2006-08-141-7/+7
| | | | | | | | | | serial line usb drivers that depend on it. Instead, let the compile fail rather than silently not including the driver. This is more in line with how we handle things like mii. # I'll note: a better system for coping with missing depends is needed, # but this dependency is clearly backwards given our current flawed # depend system.
* Oops. Remove accidentally committed change.pjd2006-08-121-3/+0
| | | | Noticed by: marck
* Add strstr() function to the libkern.pjd2006-08-121-0/+4
|
* Move definition of UNIX domain socket protosw and domain entries fromrwatson2006-08-071-1/+0
| | | | | | uipc_proto.c to uipc_usrreq.c, making localdomain static. Remove uipc_proto.c as it's no longer used. With this change, UNIX domain sockets are entirely encapsulated in uipc_usrreq.c.
* Remove sio(4) and related options from MI files to amd64, i386marcel2006-07-291-3/+0
| | | | | | | | | and pc98 MD files. Remove nodevice and nooption lines specific to sio(4) from ia64, powerpc and sparc64 NOTES. There were no such lines for arm yet. sio(4) is usable on less than half the platforms, not counting a future mips platform. Its presence in MI files is therefore increasingly becoming a burden.
* Allow to configure a kernel with envy24 support as documented in thenetchild2006-07-281-0/+2
| | | | manual page...
* Unify the checking for lock misbehavior in the various syscall()jhb2006-07-271-1/+1
| | | | | | | | | | | | | | implementations and adjust some of the checks while I'm here: - Add a new check to make sure we don't return from a syscall in a critical section. - Add a new explicit check before userret() to make sure we don't return with any locks held. The advantage here is that we can include the syscall number and name in syscall() whereas that info is not available in userret(). - Drop the mtx_assert()'s of sched_lock and Giant. They are replaced by the more general checks just added. MFC after: 2 weeks
* Add uipc_sockbuf.c to standard files list; accidentally missed in earlierrwatson2006-07-251-0/+1
| | | | | | commit. Spotted by: tinderbox
* Hook up stge(4) to the build.yongari2006-07-251-0/+1
|
* Connect gentbi, ip1000phy to the build.yongari2006-07-251-0/+2
|
* - Connect the snd_emu10kx driver to the build. [1]netchild2006-07-151-0/+28
| | | | | | - Bump __FreeBSD_version, no need to build the port now. Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> [1]
* MFp4: spibus glueimp2006-07-141-0/+4
|
* Move POSIX.1e-specific utility routines from kern_acl.c torwatson2006-07-061-0/+1
| | | | | | | | | subr_acl_posix1e.c, leaving kern_acl.c containing only ACL system calls and utility routines common across ACL types. Add subr_acl_posix1e.c to the build. Obtained from: TrustedBSD Project
* A netgraph node that can do different manipulations withglebius2006-06-271-0/+1
| | | | | | | mbuf_tags(9) on packets. Submitted by: Vadim Goncharov <vadimnuclight tpu.ru> mdoc(7) reviewed by: ru
* Add a pseudo interface for packet filtering IPSec connections before or afterthompsa2006-06-261-0/+1
| | | | | | | | | | | encryption. There are two functions, a bpf tap which has a basic header with the SPI number which our current tcpdump knows how to display, and handoff to pfil(9) for packet filtering. Obtained from: OpenBSD Based on: kern/94829 No objections: arch, net MFC after: 1 month
OpenPOWER on IntegriCloud