summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Better handling of ipv6_default_interface usingume2010-04-261-2/+2
| | | | | | | net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local unicast addresses as well as IPv6 link-local multicast addresses. MFC after: 1 week
* - Rework the underlying ALQ storage to be a circular buffer, which amongst otherlstewart2010-04-261-77/+262
| | | | | | | | | | | | | | | | | | | | | | | things allows variable length messages to be easily supported. - Extend KPI with alq_writen() and alq_getn() to support variable length messages, which is enabled at ALQ creation time depending on the arguments passed to alq_open(). Also add variants of alq_open() and alq_post() that accept a flags argument. The KPI is still fully backwards compatible and shouldn't require any change in ALQ consumers unless they wish to utilise the new features. - Introduce the ALQ_NOACTIVATE and ALQ_ORDERED flags to allow ALQ consumers to have more control over IO scheduling and resource acquisition respectively. - Strengthen invariants checking. - Document ALQ changes in ALQ(9) man page. Sponsored by: FreeBSD Foundation Reviewed by: gnn, jeff, rpaulo, rwatson MFC after: 1 month
* Make hash, type and ulimit available via execve().jilles2010-04-251-3/+3
| | | | | | | | | | | | | | | | | | These are specified by POSIX but are not special builtins, and therefore need to be available via execve() and utilities like time, nohup, xargs. (Note that hash was moved from the XSI option to the base in the 2008 standard.) Like most of the POSIX "regular builtin commands", these need to be executed in a shell environment for full functionality, although they may still be of some use outside one. Unlike the POSIX special and regular builtin commands, POSIX does not require these to be found before a PATH search, although that could be an oversight. Like some of the utilities already provided by usr.bin/alias, these may lead to confusing results when invoked from csh(1).
* builtin(1): Add missing escaping for !, . and : in the table.jilles2010-04-241-3/+3
| | | | | | | This caused these commands to look differently (not bold) from the other commands in the table (bold). MFC after: 1 week
* builtin(1): Mention [ sh builtin.jilles2010-04-241-1/+3
| | | | MFC after: 1 week
* - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-231-0/+1
| | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
* Fix of r206904, \nanchie is needed instead of \anchie.anchie2010-04-211-1/+1
| | | | | Approved by: bz (mentor) Reported by: danfe, zec
* indent.pro example: actually install the sample fileavg2010-04-211-0/+2
|
* Add myself to committers-src.dot.randi2010-04-211-0/+2
| | | | Approved by: cperciva (mentor)
* When CPUTYPE is defined to any value, on amd64 platform "mmx" isdelphij2010-04-211-1/+1
| | | | | | | | | | | | available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm MFC after: 2 weeks
* add new committer rstone to committers-src.dotrstone2010-04-201-0/+4
|
* Add myself and list bz@ as my mentor.anchie2010-04-201-0/+2
| | | | Approved by: bz (mentor)
* In case a user wants to configure only an IPv6 link-local addressdougb2010-04-171-0/+7
| | | | add an example that shows how to do it.
* When an underlying ioctl(2) handler returns an error, our ioctl(2)delphij2010-04-141-3/+6
| | | | | | | | | | | | | | | | | interface considers that it hits a fatal error, and will not copyout the request structure back for _IOW and _IOWR ioctls, keeping them untouched. The previous implementation of the SIOCGIFDESCR ioctl intends to feed the buffer length back to userland. However, if we return an error, the feedback would be defeated and ifconfig(8) would trap into an infinite loop. This commit changes SIOCGIFDESCR to set buffer field to NULL to indicate the previous ENAMETOOLONG case. Reported by: bschmidt MFC after: 2 weeks
* Man page change to documant slight change in ktr_alq behaviour.julian2010-04-141-2/+8
|
* Add sge(4) man page and hook up sge(4) to the build.yongari2010-04-145-3/+129
| | | | Also add Xr to appropriate man pages.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-14133-133/+133
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Nuke the descriptions about ipv6_firewall_* as they were unifiedume2010-04-131-33/+1
| | | | | | into firewall_*. MFC after: 3 days
* - Add an entry for myself to committers-ports.dotsahil2010-04-121-0/+3
|
* - Add myself to the ports committers graphfluffy2010-04-121-0/+3
| | | | Forgot to do it when gain my commit bit :)
* Add myself to the ports committers graphrene2010-04-111-0/+2
| | | | Approved by: tabthorpe (mentor, implicit)
* Add rc.d/ubthidhci. This small script calls usbconfig(1) to change a USBrpaulo2010-04-091-1/+22
| | | | | | Bluetooth controller from HID mode to HCI mode. MFC after: 1 week
* Improve the handling of IPv6 configuration in rc.d. The ipv6_enabledougb2010-04-091-55/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and ipv6_ifconfig_<interface> options have already been deprecated, these changes do not alter that. With these changes any value set for ipv6_enable will emit a warning. In order to avoid a POLA violation for the deprecation of the option ipv6_enable=NO will still disable configuration for all interfaces other than lo0. ipv6_enable=YES will not have any effect, but will emit an additional warning. Support and warnings for this option will be removed in FreeBSD 10.x. Consistent with the current code, in order for IPv6 to be configured on an interface (other than lo0) an ifconfig_<interface>_ipv6 option will have to be added to /etc/rc.conf[.local]. 1. Clean up and minor optimizations for the following functions: ifconfig_up (the ipv6 elements) ipv6if ipv6_autoconfif get_if_var _ifconfig_getargs The cleanups generally were to move the "easy" tests earlier in the functions, and consolidate duplicate code. 2. Stop overloading ipv6_prefer with the ability to disable IPv6 configuration. 3. Remove noafif() which was only ever called from ipv6_autoconfif. Instead, simplify and integrate the tests into that function, and convert the test to use is_wired_interface() instead of listing wireless interfaces explicitly. 4. Integrate backwards compatibility for ipv6_ifconfig_<interface> into _ifconfig_getargs. This dramatically simplifies the code in all of the callers, and avoids a lot of other code duplication. 5. In rc.d/netoptions, add code for an ipv6_privacy option to use RFC 4193 style pseudo-random addresses (this is what windows does by default, FYI). 6. Add support for the [NO]RTADV options in ifconfig_getargs() and ipv6_autoconfif(). In the latter, include support for the explicit addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done in the current code. 7. In rc.d/netif add a warning if $ipv6_enable is set, and remove the set_rcvar_obsolete for it. Also remove the latter from rc.d/ip6addrctl. 8. In /etc/defaults/rc.conf: Add an example for RTADV configuration. Set ipv6_network_interfaces to AUTO. Switch ipv6_prefer to YES. If ipv6_enable is not set this will have no effect. Add a default for ipv6_privacy (NO). 9. Document all of this in rc.conf.5.
* Remove extraneous '>'.emaste2010-04-071-1/+1
|
* Reflect recent logo_saver changes and mention dragon_saver.jkim2010-04-071-3/+9
|
* First steps as committer:jacula2010-04-051-0/+4
| | | | | | - add an entry for myself to committers-ports.dot Approved by: pgj (mentor)
* indent.pro example: put all options one per lineavg2010-04-051-2/+30
| | | | | | | This should help with modification tracking. Discussed with: bde MFC after: 7 days
* indent.pro example: correctly place -ta optionavg2010-04-051-2/+1
| | | | | | | The options are sorted, leading 'n' (for 'off') should be ignored. Pointed out by: bde MFC after: 7 days
* Add capability to use a db version of services. It is enabled byume2010-04-042-2/+18
| | | | | | specifying `db' as source of service in /etc/nsswitch.conf. MFC after: 2 weeks
* indent.pro: replace a bunch of -T types with -ta introduced in r205989avg2010-04-021-111/+1
| | | | | Suggested by: bde, Hans Petter Selasky MFC after: 10 days
* add example indent.pro file believed to produce code with minimal ↵avg2010-04-021-0/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | differences from KNF This file is what bde uses! With addition of some types from queue(3) by hps. Please note that the output will not be KNF and currently it's not possible to achieve correct KNF with any combination of options. indent(1) needs to be made smarter. Some issues: o indent produces a space between a queue type macro and opening parenthesis o indent produces a tab before __packed and __aligned o indent produce a space after #define bde also notes difference in the following options between this profile and profile in /usr/src/admin/style of 4.4BSD: -cdb -ei -ip8 -nsob Also, NetBSD uses -di0 instead of -di8. Location for the profile is suggested by jh. Submitted by: Hans Petter Selasky (parts) Obtained from: bde :-) MFC after: 10 days X-ToDo: make indent able to produce proper (perfect) KNF X-Perhaps-ToDo: make KNF default output
* WITH_CTF can now be specified in src.conf (not recommended, therenetchild2010-04-025-103/+61
| | | | | | | | | | | | | | | | | | | | | | are some problems with static executables), make.conf (would also affect ports which do not use GNU make and do not override the compile targets) or in the kernel config (via "makeoptions WITH_CTF=yes"). Additional (related) changes: - propagate WITH_CTF to module builds - do not add -g to the linker flags, it's a noop there anyway (at least according to the man page of ld) - do not add -g to CFLAGS unconditionally we need to have a look if it is really needed (IMO not) or if there is a way to add it only when WITH_CTF is used Note: ctfconvert / ctfmerge lines will not appear in the build output, to protect the innocent (those which do not build with WITH_CTF would see the shell-test and may think WITH_CTF is used). Reviewed by: imp, jhb, scottl (earlier version) Discussed on: arch@
* - Add myself to the ports committer listdecke2010-04-011-0/+4
| | | | Approved by: miwi (mentor), beat (co-mentor)
* Document DEBUG_FLAGS in a more visible place, in the build(7) manpagekeramida2010-03-311-1/+15
| | | | | | Noticed by: Alexander Best <alexbestms.at.wwu.de> Reviewed by: jhb MFC after: 1 week
* Fix references.trasz2010-03-295-13/+21
|
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-03-262-9/+1
| | | | | | | | | | | | | Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Blessed by: kientzle With hat: secteam MFC after: 3 days
* o FreeBSD 7.3 added.maxim2010-03-241-8/+9
|
* Correct cross reference.delphij2010-03-231-3/+3
| | | | MFC after: 2 weeks
* remove pre-vap examplessam2010-03-211-10/+1
|
* Correct the type for uio_resid.kib2010-03-211-2/+2
| | | | MFC after: 3 days
* vfs_mount.9: drop cross-reference to a removed manualavg2010-03-191-2/+1
| | | | MFC after: 3 days
* Add "Massachusetts".obrien2010-03-171-0/+1
|
* - Use `Va' for variables instead of `Dv'.uqs2010-03-161-41/+40
| | | | | | | | | - Correctly spell negative values. - Also fixes make manlint. Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Switch to our preferred license.joel2010-03-151-17/+11
| | | | Approved by: Dirk-Willem Van Gulik <dirkx@webweaving.org>
* Add extra Xrefsgavin2010-03-141-2/+4
| | | | | | PR: docs/114184 Submitted by: Julian Stacey <jhs berklix.org> MFC after: 1 week
* Fix several typos in macros or macro misusage.uqs2010-03-129-12/+7
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Regen:brooks2010-03-121-870/+1202
| | | | | | | | * Hart: rev 671 of pcidevs.txt; 22-01-2008 (D-M-Y). * Boemler: vendors.txt (2010-03126) PR: kern/133733 MFC after: 1 week
* Document a new sysctl variable and a loader tunable.jkim2010-03-091-1/+8
|
* Switch to our preferred license text.joel2010-03-061-9/+9
| | | | Approved by: imp
* Redirect stdin from /dev/null when starting a jail:netchild2010-03-051-1/+6
| | | | | | | | | | | | | | | | | | | | At least in RELENG_7 this fixes some start problems for some programs from the ports. It is also more correct, as a jail shall not expect input (interactivity) from the jail-host. Revert the current behavior of starting jails in the background and make it optional only for the start of jails (jail_parallell_start=YES in rc.conf): - The stop can not be done in the background, the system needs to wait until everything is stopped correctly before it can reboot or power down. - The start should not be done in parallel by default, this not only breaks POLA for people comming from RELENG_x, it may also break a dependency chain with other scripts in the jail-host, which need to do some stuff after the jails are up and running (e.g. hardlinking a mysql socket from one jail into another one). Discussed on: freebsd-jails@
OpenPOWER on IntegriCloud