summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Add cas(4).marius2009-06-151-0/+1
| | | | | Approved by: re (kib) MFC after: 2 weeks
* Add volatile to sig_atomic_t where it was missing.des2009-06-142-2/+2
| | | | MFC after: 1 week
* Include <sys/wait.h> and <signal.h> for wait() and kill().ed2009-06-141-0/+2
|
* Add -m and -t options.brian2009-06-142-2/+13
| | | | | | PR: 129554 Submitted by: gavin MFC after: 3 weeks
* Remove "extern" from function prototypes, and fix some (but not all)des2009-06-1315-196/+154
| | | | | | style(9) violations. MFC after: 1 week
* Wrap some macros that needed wrapping.des2009-06-131-8/+14
| | | | MFC after: 1 week
* Remove casts from {c,m,re}alloc() and simplify sizeof().des2009-06-1313-87/+87
| | | | MFC after: 1 week
* nscd builds cleanly at WARNS level 3.des2009-06-131-2/+1
| | | | MFC after: 1 week
* Explain to the compiler why the aliasing we're doing is OK.des2009-06-137-38/+33
| | | | MFC after: 1 week
* Fix a large number of signed - unsigned comparison warnings.des2009-06-136-34/+43
| | | | MFC after: 1 week
* Change hashtable_index_t to unsigned.des2009-06-132-5/+3
| | | | | | Generate prototypes for our hash table. MFC after: 1 week
* #include the right header so we get prototypes for our own functions.des2009-06-131-1/+1
| | | | MFC after: 1 week
* Further #include cleanup.des2009-06-1310-12/+25
| | | | MFC after: 1 week
* Make the debugging macros expand to (void)0 instead of simply nothingdes2009-06-132-36/+36
| | | | | | | when debugging is turned off. Rename debugging functions due to namespace violation. MFC after: 1 week
* #include cleanupdes2009-06-1313-22/+28
| | | | MFC after: 1 week
* Provide correct prototypes for functions with no arguments.des2009-06-1212-34/+34
| | | | MFC after: 1 week
* _nss_cache_cycle_prevention_function doesn't actually need to be a function,des2009-06-121-10/+10
| | | | | | it just needs to have external linkage. MFC after: 1 week
* Update the content of the nfsv4.4 man page to reflect the finalrmacklem2009-06-121-42/+56
| | | | | | | | | choice of variable names for rc.conf and option name for the experimental server. Also replace the inaccurate description of the nfsv4 root lines in /etc/exports, mostly with a reference to exports(5). Approved by: kib (mentor)
* syslog.conf(5): correct exampleavg2009-06-111-4/+4
| | | | | | | security.* and console.* are moved out of ftpd program block Approved by: jhb (mentor) MFC after: 2 weeks
* - Make pstat(8) WARNS=6 safe.stas2009-06-112-22/+33
| | | | | | | - While here, eliminate the check for len > 0 in ttymode_sysctl as the code is able to handle this case well. Reviewed by: ed (initial version)
* Lower WARNS due to alignment issues on sparc64.des2009-06-111-1/+1
|
* Correct my previous commit to pstat(8).ed2009-06-111-1/+1
| | | | | | | Not only mark the strings inside the array as const, but do the same for the elements of the array itself. Submitted by: Christoph Mallon
* Make most of pstat(8) build with WARNS=6.ed2009-06-111-6/+7
| | | | | There is still an issue with the nlists, which I'm not quite sure how to solve, so I'm leaving WARNS set to 3 right now.
* As of sam's r175206, arp builds cleanly at WARNS level 6, but the Makefiledes2009-06-112-4/+8
| | | | | was never updated. Also, clean up the macro that caused the warning in the first place (no functional changes, just wrapped and reindented).
* In the old-style jail command line, explicitly set parameters from thejamie2009-06-101-2/+39
| | | | | | security.jail.* sysctls since jail_set(2) doesn't do it implicitly. Approved by: bz (mentor)
* Fix typo.yongari2009-06-101-1/+1
|
* Add alc(4) to the list of supported network interface.yongari2009-06-101-0/+1
|
* 1. Update the message that prints out for -U when the mtree database doesdougb2009-06-091-7/+7
| | | | | | | | | | | not exist to let the user know that it will be created for the next run. 2. Delete more stuff we're not going to use from the temproot prior to creating the mtree database to dramatically reduce its size (162K -> 37K). 3. We've been deleting the zero-size files from temproot for a long time now, so remove the spurious "-size +0" from the find command in the comparison loop, and remove what is now a really stale comment.
* Get the other NG_PATHLEN while I'm here too :(.imp2009-06-091-1/+1
|
* Use NG_PATHSIZ instead of NG_PATHLEN + 1.imp2009-06-091-1/+1
|
* Fix grammar.jkoshy2009-06-081-1/+1
| | | | Submitted by: richardtoohey at paradise dot net dot nz on -doc
* The change r192913 has added dependency on IP_RECVDSTADDR beingkan2009-06-081-0/+7
| | | | | | set for RPC UDP sockets. Mountd uses internal libc fuctions directly and bypasses generic socket initialization completely, so we need to set IP_RECVDSTADDR here to match the libc behavior.
* Import ACPICA 20090521.jkim2009-06-056-23/+64
|
* Do not force the mtu to 2290; this was done to insure large EAPOL framessam2009-06-051-12/+0
| | | | | | | | | could be handled w/o fragmentation but clobbers user-specified values such as those required when the interface is bridged. Submitted by: jim@netgate.com Reviewed by: Jouni Malinen MFC after: 3 days
* Re-format the nfsv4.4 man page so that all sentences start on armacklem2009-06-031-10/+20
| | | | | | new line. Approved by: kib (mentor)
* Catch up with the times: "mozilla" -> "firefox".jkoshy2009-06-021-2/+2
|
* Add support for the build options that are currently in the port:dougb2009-06-011-1/+19
| | | | | | | WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
* Fix segfault when giving invalid long option to pkg_info.jilles2009-06-011-0/+1
| | | | | | | PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week
* o) Restructure tcpdrop(8) to provide a facility to try to drop all establishedjmallett2009-06-012-56/+319
| | | | | | | | | | connections. Including a flag to instead output a sequence of tcpdrop(8) invocations that would accomplish the same thing, which is convenient for scripting. o) Make tcpdrop complain if the addresses given to it are entirely in different address families, rather than failing silently. o) When cross-referencing httpd(8), do not explicitly specify the apache2 port, since the example in question is generic.
* Several cleanups to ipfwpcap(8).ed2009-05-312-63/+62
| | | | | | | | | | | | | - Enable WARNS?=6. - Include missing headers. - Mark prog and pidfile as static. Remove unneeded initializer. - Use ANSI prototypes. - Remove unneeded fp variable. - snprintf() guarantees the buffer to be null terminated. Remove unneeded - 1 and bzero call. - Remove unneeded casting. Submitted by: Pawel Worach, Christoph Mallon
* Teach powerd how to query the PMU AC line state on PowerPC.nwhitehorn2009-05-311-10/+18
|
* Update BIND to version 9.6.1rc1. This version has better performance anddougb2009-05-314-1/+54
| | | | | | | | | | | | | lots of new features compared to 9.4.x, including: Full NSEC3 support Automatic zone re-signing New update-policy methods tcp-self and 6to4-self DHCID support. More detailed statistics counters including those supported in BIND 8. Faster ACL processing. Efficient LRU cache-cleaning mechanism. NSID support.
* Code cleanup for nfs4 utilities:delphij2009-05-295-62/+52
| | | | | | | | | | | | - Mark internal routines as static; - Eliminate unused parameters where possible, mark __unused for others; - Remove unused variables; - Use %jd for int64_t values in printf(); - Add appropriate %d for printf to match its parameter; - Rename a variable to resolve conflict with revoke(2); Reviewed by: rmacklem Tested with: make universe (bugs are mine)
* Place hostnames and similar information fully under the prison system.jamie2009-05-291-6/+16
| | | | | | | | | | | | | | | | | The system hostname is now stored in prison0, and the global variable "hostname" has been removed, as has the hostname_mtx mutex. Jails may have their own host information, or they may inherit it from the parent/system. The proper way to read the hostname is via getcredhostname(), which will copy either the hostname associated with the passed cred, or the system hostname if you pass NULL. The system hostname can still be accessed directly (and without locking) at prison0.pr_host, but that should be avoided where possible. The "similar information" referred to is domainname, hostid, and hostuuid, which have also become prison parameters and had their associated global variables removed. Approved by: bz (mentor)
* Fix some inaccuracies in the extensible parameter addition.jamie2009-05-291-2/+2
| | | | Approved by: bz (mentor)
* Change the "-4" argument for nfsd and mountd to "-e" to avoidrmacklem2009-05-284-18/+18
| | | | | | | confusion, since it does not refer to IPv4 nor NFSv4, but to running the experimental server instead of the regular one. Approved by: kib (mentor)
* Modify mountd to handle the experimental nfs server as well as thermacklem2009-05-273-135/+358
| | | | | | | | | | | | regular one. It now takes a "-4" command line argument to force it to use the experimental server. Otherwise it will use the regular server unless the experimental server is the only one linked into the kernel. A third kind of line has been added to /etc/exports, which is specific to NFSv4 and defines where the NFSv4 tree root is and can be used to limit access to NFSv4 state handling operations that do not use any file handle. Approved by: kib (mentor)
* Fix xref name.thompsa2009-05-271-1/+1
|
* Merge final round of MLD changes from p4:bms2009-05-272-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ip6_input.c, in6.h: * Add netinet6-specific mbuf flag M_RTALERT_MLD, shadowing M_PROTO6. * Always set this flag if HBH Router Alert option is present for MLD, even when not forwarding. icmp6.c: * In icmp6_input(), spell m->m_pkthdr.rcvif as ifp to be consistent. * Use scope ID for verifying input. Do not apply SSM filters here, no inpcb. * Check for M_RTALERT_MLD when validating MLD traffic, as we can't see IPv6 hop options outside of ip6_input(). in6_mcast.c: * Use KAME scope/zone ID in in6_multi. * Update net.inet6.ip6.mcast.filters implementation to use scope IDs for comparisons. * Fix scope ID treatment in multicast socket option processing. Scope IDs passed in from userland will be ignored as other less ambiguous APIs exist for specifying the link. * Tighten userland input checks in IPv6 SSM delta and full-state ops. * Source filter embedded scope IDs need to be revisited, for now just clear them and ignore them on input. * Adapt KAME behaviour of looking up the scope ID in the default zone for multicast leaves, when the interface is ambiguous. mld6.c: * Tighten origin checks on MLD traffic as per RFC3810 Section 6.2: * ip6_src MAY be the unspecified address for MLDv1 reports. * ip6_src MAY have link-local address scope for MLDv1 reports, MLDv1 queries, and MLDv2 queries. * Perform address field validation *before* accepting queries. * Use KAME scope/zone ID in query/report processing. * Break const correctness for mld_v1_input_report(), mld_v1_input_query() as we temporarily modify the input mbuf chain. * Clear the scope ID before handoff to userland MLD daemon. * Fix MLDv1 old querier present timer processing. With the protocol defaults, hosts should revert to MLDv2 after 260s. * Add net.inet6.mld.v1enable sysctl, default to on. ifmcstat.c: * Use sysctl by default; -K requests kvm(3) if so compiled. mld.4: * Connect man page to build. Tested using PCS.
* Add support for the arbitrary named jail parameters used by jail_set(2)jamie2009-05-278-820/+1586
| | | | | | | | | | | | | | and jail_get(2). Jail(8) can now create jails using a "name=value" format instead of just specifying a limited set of fixed parameters; it can also modify parameters of existing jails. Jls(8) can display all parameters of jails, or a specified set of parameters. The available parameters are gathered from the kernel, and not hard-coded into these programs. Small patches on killall(1) and jexec(8) to support jail names with jail_get(2). Approved by: bz (mentor)
OpenPOWER on IntegriCloud