Commit Graph

11044 Commits

Author SHA1 Message Date
plunky
877e528c4e largely apply patch from PR bin/47392 by Abhinav Upadhyay
change some comments to reflect reality, a variable name to enhance
readability, and adds an assert for safety.
2015-04-07 17:47:10 +00:00
apb
4d63581d0f More shell quoting. /etc/rc.d/* file names with embedded spaces are
not expected to work, but let's quote them anyway.
2015-04-05 11:33:15 +00:00
mbalmer
03639a91cd IPv4 number -> IPv4 address 2015-04-03 14:57:41 +00:00
ast
ac1727e138 cosmetic change in man 8 service
use shell quoting in a safe way as suggested by Alan Barrett
2015-04-02 18:41:22 +00:00
plunky
ab4f70e666 fix typo: sparce->sparse 2015-03-31 09:25:41 +00:00
martin
7d1d1b71a1 Add resize_root 2015-03-31 07:57:57 +00:00
agc
aa7e0e4b83 Make the userland signature and uses of bread() match the kernel ones,
after the removal of the cred argument.
2015-03-29 05:52:59 +00:00
jmcneill
8a9ff04ba8 Split hdaudio and PCI attach glue. Even though the driver was written with
this separation in mind, all of the code lived in sys/dev/pci/hdaudio. Move
common parts to sys/dev/hdaudio and PCI attach glue to sys/dev/pci.
2015-03-28 14:09:58 +00:00
ast
a35faf3dd1 Integrate some feedback gleened from tech-userlevel@netbsd.org:
Avoid ls -P so that script can also run pre-netbsd-7.
Make sure /etc/rc.conf.d configurations are supported.
2015-03-27 23:25:42 +00:00
msaitoh
c034104b35 Update from Intel SDM:
- Add Atom Z8000, Future gen Xeon (Broadwell), Next gen Xeon Phi and so on.
- Add comments.
2015-03-27 05:31:34 +00:00
christos
b2cf87b6f2 allow lists as filter addresses. 2015-03-24 20:24:17 +00:00
ast
baf9344e28 Remove -f option as rc_fast is not set in invocation mode.
Do the load_rc_config *after* option parsing.
Catch conflicting -e + -l option specs.
2015-03-23 23:28:55 +00:00
wiz
5753d35ecf Sort options in usage. 2015-03-22 22:39:05 +00:00
wiz
51041dd869 Sort options. Use An -nosplit in AUTHORS section. 2015-03-22 22:38:19 +00:00
wiz
e74dc903d0 Use An in AUTHORS section. 2015-03-22 22:35:08 +00:00
ast
f00f13ee2a Make the usage appear more standard. 2015-03-22 10:24:48 +00:00
ast
04efec8469 Import a substantially modified service(8) command from FreeBSD to
manage rc.d scripts.  This command is well known on most other Unixes
and should help soften the learning curve for Unix admins coming
to NetBSD.
2015-03-22 09:57:42 +00:00
ast
64fd4bb542 Appease various mandoc -Tlint warnings and update copyright while we're here 2015-03-22 09:45:50 +00:00
jmcneill
7ba4328bfa Process /etc/modules.conf (if present) at startup, before securelevel is
raised, to allow module loading on ports without a module aware bootloader.
2015-03-21 19:10:43 +00:00
rmind
3250dbf286 npfctl:
- Fix the filter criteria when to/from is omitted but port used.
- Print more user-friendly error if an NPF table has a duplicate entry.
2015-03-21 00:49:07 +00:00
joerg
a23fab26e8 MDOC_MAX is a valid token if the type is text. Adjust. 2015-03-12 14:57:18 +00:00
joerg
f449d0c454 Boot partition as FAT32 doesn't really make sense, so don't force
the MBR to lie and allow FAT16 too.
2015-03-12 11:32:16 +00:00
christos
e3f5a174fd CID 1018907: Freeifaddrs 2015-03-11 15:57:12 +00:00
christos
704de17457 - handle section numbers that are not single digits
- don't allocate and free needlessly
2015-03-04 02:02:15 +00:00
christos
ce5cbf49e1 mention that this replaces makewhatis(8) 2015-03-03 18:04:33 +00:00
joerg
5a02bfcb09 Explicitly deal with end of lists. PR 49708. 2015-03-02 13:51:24 +00:00
tnn
d3bf9a40c8 xgetbv expects XCR0 to be speficied in %ecx, don't leave %ecx undefined 2015-03-01 18:02:42 +00:00
joerg
88c9fb0be8 Add rc script for /sbin/iscsid. 2015-02-21 23:13:00 +00:00
joerg
6214f5f4d1 Format string annotation. 2015-02-15 14:51:57 +00:00
christos
7779d7745a - always set *to_buf to a timestamp, even if there was none reported/parseable
(Frank Kardel).
- merge the timestamp copying code to one place.
- factor out the debugging printf function.
2015-02-10 20:38:15 +00:00
christos
4649e9761b Only define the extra flags for kern_timeout.c 2015-02-09 17:48:07 +00:00
christos
4a931fcb8e add kern_timeout.c for "show callout" 2015-02-08 19:42:12 +00:00
gdt
91f284e510 Fix bug in mrouted about aging neighbors.
mrouted will periodically age its neighbors and will remove a neighbor
if it hasn't heard from it for NEIGHBOR_EXPIRE_TIME. Unfortunately, the
neighbor pointers 'a' and 'prev_a' were never advanced when timer was
not expired. Therefore it would get stuck in a tight loop, advancing
'al_timer' until it would be greater than NEIGHBOR_EXPIRE_TIME. This
caused the neighbor to allways get timed out and dropped. Furthermore,
there was a second bug in this loop when deleting an item that was not
at the head of the list (i.e., prev_a should stay the same instead of
advancing).

This bug fix is the work of Konrad Lorincz.  Bug found and fix made on
netbsd-6.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073.  Any opinions, findings
and conclusions or recommendations expressed in this material are
those of the author(s) and do not necessarily reflect the views of the
Defense Advanced Research Project Agency and Space and Naval Warfare
Systems Center, Pacific.
Approved for Public Release, Distribution Unlimited
2015-02-05 16:50:19 +00:00
rmind
6cbd6e2a1c npfctl_print_rule: print the ID in hex, not decimal. 2015-02-02 19:08:32 +00:00
rmind
f56b8821ba npfctl(8): report dynamic rule ID in a comment, print the case when libpcap
is used correctly.  Also, add npf_ruleset_dump() helper in the kernel.
2015-02-02 00:31:39 +00:00
rmind
2904ff02f1 npf.conf(5): mention alg, include in the example, minor fix. 2015-02-01 22:57:21 +00:00
christos
0bcb0c670a use strtonum from libc 2015-01-29 03:31:35 +00:00
christos
f47593bb0f use strtonum from libc (Kamil Rytarowski) 2015-01-29 03:28:19 +00:00
christos
50254b7c23 fix tools build. 2015-01-23 20:28:24 +00:00
wiz
91b18a3e92 Pull into this year. 2015-01-23 03:31:58 +00:00
christos
11e0521fb7 attempt to reset file flags when -rr 2015-01-23 02:27:01 +00:00
snj
362cd6ee40 Handle empty input gracefully by simply jumping back to the config menu. 2015-01-20 21:51:05 +00:00
christos
e701837bc1 reflect reality about filesystems supported. 2015-01-12 19:50:47 +00:00
christos
d79005d78a PR/49559: Christian Brueffer: Fix typo maxbpf instead of maxbpg. 2015-01-12 19:50:25 +00:00
joerg
24a21ee034 st_nlink on Linux is not int, so add an explicit cast. 2015-01-07 20:50:36 +00:00
christos
4e2babb88b load the config file before bpfjit so that we can disable the warning. 2015-01-04 20:02:15 +00:00
joerg
a668c47e7f Don't depend on yacc to include stdlib.h or string.h. 2015-01-04 18:30:05 +00:00
christos
52e8eb1316 Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
abs
40a37f0d92 Rather than scatter set_swap() calls wrapped in ram size checks through
md_post_disklabel() and md_pre_update(), abstract them out to an MI
set_swap_if_low_ram() and call from the appropriate MI places.
Now all platforms add swap if the system has <= 32M of RAM.
2015-01-02 19:43:13 +00:00
martin
3cbe7ed1ad Revise previous: with RUN_SILENT there is never a good reason to create
the output window unless there is actually output to display.
2014-12-30 10:10:22 +00:00