Commit Graph

11085 Commits

Author SHA1 Message Date
christos
d672d793c3 a couple more stray \n 2015-06-16 23:54:58 +00:00
christos
b3ded435d4 revert kernhist patch accidentally committed 2015-06-16 23:48:20 +00:00
christos
8ee626c9fa improve error messages (remove \n, use __func__, etc) 2015-06-16 23:04:13 +00:00
ozaki-r
cba76b60ed Fix regression on sending RA messages
r1.48 dropped hoplimit cmsg but forgot to adjust cmsg buffer length.

Reported by Timo Buhrmester
2015-06-15 04:15:33 +00:00
plunky
68a3deedd1 the Bluetooth rc.d setup was simplified some time ago, so
'btdevctl' variable is no longer used. change wording to
reflect this
2015-06-12 09:43:05 +00:00
rmind
1662d4f47c - npfctl: fix the confusion in the parser (0/0 case with no other filter).
- Always populate the error dictionary, not only for DEBUG/DIAGNOSTIC.
2015-06-08 01:00:43 +00:00
joerg
8cd9de5e58 Linking against libutil is not appropiate for tools. 2015-06-06 15:45:47 +00:00
roy
9d47679b07 Use %m in syslog(3) instead of %s strerror(3). 2015-06-05 15:41:59 +00:00
roy
54f3dcbf97 Set the hoplimit of 255 as specified in RFC 4861 section 4.2
using the IPV6_MULTICAST_HOPS socket option rather than using CMSG
when constructing each message.
2015-06-05 14:15:41 +00:00
roy
76ec1114d0 Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic
clock rather than the wall clock.
Use timespec rather than timeval structs to make this transition easier.
Kill custom timeval comparison functions in favor of timespeccmp(3).
2015-06-05 14:09:20 +00:00
mlelstv
182e6e3b91 Can't use getfsspecname (and thus wedge names) while building tools. 2015-06-05 07:44:39 +00:00
mlelstv
18bcb9c15b Support wedge names. 2015-06-05 05:03:21 +00:00
mlelstv
bddb934a67 Compute bootloader checksum correctly also on little endian systems. 2015-06-05 05:02:48 +00:00
rmind
d6bf72e999 npfctl: fix the from/to port mess up when showing the rules. 2015-06-03 23:36:05 +00:00
hannken
c063d4ccd5 Use VFS_PROTOS() for lfs.
Rename conflicting struct lfs field "lfs_start" to "lfs_s0addr".

No functional change.
2015-05-31 15:44:30 +00:00
ozaki-r
8f82f57c45 Remove obsolete interfaces: eon (netiso) and nsip (netns)
Pointed out by Kamil Rytarowski
2015-05-21 01:09:00 +00:00
martin
e483043e46 Do not -DCATALOG_DIR for DEBUG builds to allow easy (local) testin of
translations.
2015-05-17 10:22:20 +00:00
martin
9ee09e5ff9 Invert sense of a vnd creation message ("Create new image: Yes") and kill
the translations that I can't update myself.
2015-05-17 10:13:24 +00:00
martin
840d8b9a07 Missed a few more "yesno" in previous 2015-05-11 21:07:56 +00:00
martin
5270515f54 Make "ask_yesno" and "ask_noyes" take a const char * as argument, moving
the deconst() dance into the utility functions and simplifying all callers.
2015-05-11 13:07:57 +00:00
martin
f92de306f4 More (ab-)usages of "yesno" 2015-05-11 13:01:08 +00:00
martin
cc33bc91e6 Remove a few more (ab-)usages of "yesno". 2015-05-11 12:57:55 +00:00
martin
a83f4e2ce4 Make it compile on architectures that do not support INET6 in sysinst 2015-05-11 06:58:13 +00:00
martin
e21052b4e5 Backout the previous incorrect fix for PR 49440 and redo it more globaly:
get rid of the global "yesno", introduce utility functions "ask_yesno()"
and "ask_noyes()" instead, greatly simplifying a lot of code.
Pass in a pointer to the return value to various "set source" menus.
2015-05-10 10:14:02 +00:00
martin
b3b23df81a Sort DBG vs CPPFLAGS in the DEBUG case, as requested by Christos 2015-05-10 09:13:15 +00:00
christos
f4ad1a1253 use EXIT_SUCCESS/EXIT_FAILURE consistently. 2015-05-09 21:22:18 +00:00
dholland
d4f9fa9c7c perror -> warn 2015-05-09 18:32:04 +00:00
dholland
c0ca3685e5 check setrlimit too 2015-05-09 18:22:37 +00:00
christos
7a74e96fe5 CID 1009289: Check getrlimit 2015-05-09 13:10:50 +00:00
martin
b2609efb8f When exiting from the "ftpsource" menu, explicitly set yesno to -1 (again),
to avoid a retry loop because a submenu action has changed this global.
Fixes PR 49440.
2015-05-09 12:55:06 +00:00
martin
f33ca424b5 Add a new utility function "update_wedges()", which triggers a scan
for wedges on the given disk. Call this after writing a disklabel.
This makes all auto-discovered wedges go away after we changed the
partitioning (and are not using GPT) and fixes PR 49665.
2015-05-09 12:06:31 +00:00
martin
746360b112 Make gcc generate better debug info when building with DEBUG set. 2015-05-09 06:15:42 +00:00
msaitoh
04cf945ec6 Update some Intel CPU models (Sky Lake, Broadwell and Atom X[357]). 2015-05-08 07:29:08 +00:00
martin
aeb2cdc99a As pointed out by John D. Baker: replace all / characters in packnames
(which might be automatically generated from controller names like
"PERC 5/i") with a space before using the string as a file name.
2015-05-01 17:48:36 +00:00
gson
6b28ba7844 Shorten the message "System configuration files (/etc)" to just
"Configuration files (/etc)" so that it doesn't overflow into the
"Selected" column, overwriting the "Yes" or "No" so that there is
no way to know if the set is selected or not.
2015-05-01 13:48:05 +00:00
snj
d36b8cce23 make the english sysinst messages suck a bit less:
- improve wording
- correct outdated info
- pick some consistency nits
- fix whitespace
2015-04-30 06:37:26 +00:00
martin
8f4af8381b Remove reference to (no longer existing) ialloc.c 2015-04-28 19:59:14 +00:00
christos
1275c9b3e8 remove unused 2015-04-28 17:00:42 +00:00
riastradh
944fbd0d8b Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE. 2015-04-20 19:36:55 +00:00
maxv
149659eb68 Fix the French translation. 2015-04-20 14:10:31 +00:00
maxv
3d61adb879 Several fixes for the French translation. Looks like the '{\n' break the
interface: the "No" buttons sometimes disappear.

Actually I can't test this change right now; will see tomorrow.
2015-04-19 16:14:03 +00:00
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