Commit Graph

5859 Commits

Author SHA1 Message Date
jakllsch
9211d76436 make a bunch of globals static 2012-11-03 19:26:52 +00:00
jakllsch
7f13651aab drop write-only variable 2012-11-03 19:14:53 +00:00
pgoyette
52dd3d0558 Use snprintb_m(3) to split flags/capabilities/enabled across multiple
output lines.

As discussed on current-users
2012-11-01 13:43:23 +00:00
msaitoh
bbc956a9be Add SIOCGETHERCAP ioctl.
There was no way to know the setting of ec_capabilities and ec_capenable
other than grepping the source.

See http://mail-index.netbsd.org/tech-kern/2010/07/28/msg008613.html
2012-10-31 10:17:34 +00:00
enami
78b4053513 The id chgrp command is required to change is not uid but gid. 2012-10-24 01:12:51 +00:00
christos
968ce182a5 - use {g,s}etprogname()
- fix usage
2012-10-23 17:55:46 +00:00
wiz
2690e9488f + ly 2012-10-23 17:30:59 +00:00
christos
722882388a allow non-command keysyms to be mapped as commands (experimental) 2012-10-23 15:30:45 +00:00
christos
2b7d68ecf8 - remove obsolete = { syntac
- print context for yyerror()
- add a production to clarify a syntax error
2012-10-23 01:59:18 +00:00
christos
c8bd03f1a4 support --reference=rfile 2012-10-22 18:02:26 +00:00
drochner
5724e77fda Implement experimental support to pass notifications that a file
was deleted from the filesystem to the disk driver, commonly
known as "discard" or "trim".
fs/driver support is in ffs and ata wd for now.
This is what was posted here:
http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html
with minor cleanup, and the global switch replaced by a mount option.
2012-10-19 17:09:06 +00:00
wiz
4d8d2d3c45 Revert my previous commit, I misunderstood the intention.
Noted by njoly.
2012-10-06 09:11:34 +00:00
wiz
ff22935a2e Previous slightly more consistently. 2012-10-05 21:30:29 +00:00
njoly
1fd47d12e9 Fix indented blocks rendering with mandoc. Switch from .in unsupported
macro to .Bd/.Ed ones. While here kill some unneeded .Pp/.br macros.
2012-10-05 18:07:46 +00:00
uwe
a855fb9e85 Fix fallout from 1.129 that converted sou::so_foo from unions to
pointers but missed (char *)&soup->so_foo => (char *)soup->so_foo in
mask_addr().  It worked by luck - unless it didn't: due to pointer
numerology on amd64 route add -net ClassC without explicit /24 prefix
length specification would result into /16 destination instead of /24.
2012-10-04 00:01:48 +00:00
wiz
547319c1ee - Improve wording;
- remove superfluous `.Pp' macro (fixes mandoc(1) warning).

From Bug Hunting.
2012-10-03 19:36:11 +00:00
riz
1c8ef6d0ac Remove the bit about empty DOS file systems assumed to have short names
by default;  jmcneill changed this back in Jan 2009, but missed this
text.
2012-09-27 21:51:12 +00:00
christos
9db5ca4e66 add back old options for compatibility, but complain if specified. 2012-09-20 18:56:05 +00:00
christos
41a9f0e839 Does not make sense to mount this as NFS, so it is not a bug.
We can now mount multiple instances, but all of them show all the ptys.
2012-09-19 15:38:09 +00:00
christos
7097f02a88 remove -c and chroot option; they are always on now 2012-09-18 21:35:43 +00:00
msaitoh
c29bab8ba9 Fix a bug that misunderstand F_TIMING64, F_POLICY and F_AUTHHDR. 2012-09-18 04:07:44 +00:00
msaitoh
5699fb2d89 Accept "-s 0" 2012-09-10 04:32:24 +00:00
wiz
23f6e3c1fb Bump date for previous. 2012-09-09 17:11:49 +00:00
dholland
31ea0cb5b3 ptyfs hasn't been experimental in a long time. (noticed by blymn) 2012-09-09 17:09:51 +00:00
riz
012f92fc5b Remove -g from CPPFLAGS. 2012-09-05 23:01:42 +00:00
riz
18bc268e49 Remove "-g" from CPPFLAGS. 2012-09-05 22:58:53 +00:00
dholland
06b26cd86b Use more markup, fix English usage. 2012-08-29 18:46:13 +00:00
dholland
2d1cf01ec8 stdlib.h, not malloc.h 2012-08-26 09:33:18 +00:00
joerg
067600c8cf Revert last, it breaks the tricks xsrc uses. 2012-08-23 21:21:14 +00:00
joerg
8e96262375 Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
drochner
0065310310 the address expire counter is just a time difference; it can turn
negative after the timer expired until the entry is deleted.
make it signed, so that we don't get output like
"00:1b:78:12:50:46 wm0 18446744073709551349 flags=0<>"
2012-08-23 12:06:32 +00:00
jnemeth
0f1ee6e9e1 Set WARNS=5. No warnings/errors were found with a test compile. 2012-08-22 07:47:18 +00:00
jnemeth
c6e45a5dd0 Bump up to WARNS=5. No new warnings/errors were found. 2012-08-16 19:47:48 +00:00
jruoho
dd68a56f79 Use _PATH_URANDOM from paths(3). 2012-08-14 14:41:07 +00:00
wiz
a4fbef4f94 Make the difference between -A and -a clearer by using more markup. 2012-08-12 17:20:19 +00:00
joerg
e16a720f89 Don't depend on HAVE_GCC being always defined. 2012-08-10 12:20:10 +00:00
christos
54abeff8fd don't define RUMP_ACTION if MKRUMP = no 2012-08-08 14:10:38 +00:00
christos
1e5d8920de remove useless rump headers. 2012-08-08 14:04:26 +00:00
jakllsch
da6f244356 The free space value in the FSInfo block is merely unitialized when it is
0xffffffff.  Fixes first part of bin/46743
2012-08-07 19:30:41 +00:00
jnemeth
942121f54c Add -A, -a, and -e options to modstat(8) along with kernel
changes required to support these options.  The -e option was
requested by martin@ in private chat in order to make writing tests
easier (i.e. don't bother testing MODULAR functionaility if it
doesn't exist).  While there, I added -A and -a since those were
quite similar.

     -A      Tells you whether or not modules can be autoloaded at the moment.
             This option does take into consideration the sysctl
             kern.module.autoload.

     -a      Tells you whether or not modules can be autoloaded at the moment.
             This option does not take into consideration the sysctl
             kern.module.autoload.

     -e      Tells you whether or not you may load a module at the moment.
2012-08-07 01:19:05 +00:00
jakllsch
1423b85c62 Use correct values for minimum and maximum cluster counts for the various FAT
types.  These values come from a publically-avaliable document of an
infallible source that must not be named due to a violation of the document's
license restrictions.  This is justified by interoperability concerns.
2012-07-31 13:52:44 +00:00
matt
11ded42c89 Fix a few straggling BE/LE problems. 2012-07-30 00:53:59 +00:00
matt
8c19c1d834 Make sure utf-16 strings are written as little endian words. 2012-07-25 01:07:49 +00:00
wiz
2dae1f92be From Bug Hunting:
Sync usage with man page.
2012-07-14 20:14:17 +00:00
wiz
2554af119a From Bug Hunting:
- use more common option list header line;
- remove superfluous `.Pp' macro (fixes mandoc(1) warning);
- bump date.
2012-07-14 20:13:30 +00:00
dholland
fc7133543a minor wording improvement. 2012-07-11 18:33:14 +00:00
jakllsch
1f2df78806 constify opts[] 2012-07-04 18:35:58 +00:00
tsutsui
c0aba6b3c5 Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.
2012-06-30 15:34:01 +00:00
mlelstv
1e662e8f89 it's really 32bit 2012-06-25 20:39:54 +00:00
mlelstv
58d2e3b383 report luns returns a 32bit list length. 2012-06-25 20:33:56 +00:00