212808 Commits

Author SHA1 Message Date
apb
508b448a57 Change do_ptyfsoldnodes to use stat(1) to check whether a file is
a device node of the correct type.  We no longer need to get the
major number from searching the MAKEDEV script, because the output
from stat(1) will contain the strings "tty" or "pty" instead of
the numeric major numbers.  We also no longer rely on "find -ls".
2012-08-14 13:11:24 +00:00
apb
610473e207 TOOL_GREP is defined in share/mk/bsd.own.mk, but is not actually built
from tools/Makefile.  So don't try to use it here.
2012-08-14 13:04:09 +00:00
he
c7664459b0 Make this build again by adding a couple of right-parens. 2012-08-14 13:02:19 +00:00
apb
8e0231f0a0 Pass all relevant tool variables to postinstall, not just a subset. 2012-08-14 12:37:41 +00:00
abs
079a23a549 update current version of grep to 2.13 - from Snader_LB 2012-08-14 12:31:05 +00:00
apb
fe68d40e36 Fix unbalanced quotes in .if ${MKRUMP} != "no" 2012-08-14 12:19:16 +00:00
apb
0c31a5f126 Use grep -E and grep -F instead of egrep and fgrep. This reduces the
number of tools that may need to be passed in the environment.
2012-08-14 12:07:57 +00:00
apb
beaffa0794 Remove the "stat" shell function (stat op format target value).
It has been unused since revision 1.14 dated 2006-05-30.
2012-08-14 10:38:40 +00:00
christos
c3c4374a7d use freeaddrinfo() 2012-08-14 08:23:30 +00:00
dholland
9011835d97 Improve DESCRIPTION, fix up English usage. 2012-08-14 08:08:29 +00:00
martin
5f9bff29ea Change all install media to use ipty instead of pty0 2012-08-14 07:24:40 +00:00
dholland
e8c5ba3f3f Some edits, prompted by suggestions from Edgar Fuss. 2012-08-14 05:14:53 +00:00
dholland
4ce2ad59b6 Grr. The ATF quota tests demand failing silently in certain circumstances.
For netbsd-6 we will just have to go with the flow, as I'm not touching
anything outside edquota tonight.
2012-08-14 04:53:43 +00:00
dholland
c9817be0c7 three more minor fixes. 2012-08-14 04:48:42 +00:00
dholland
40b0b3a839 Make editor-based edquota work again.
The format is somewhat different; I'm operating under the assumption
that nobody has automated editing scripts for the old format because
it's much easier just to use the command-line interface of
edquota. The new format is more scalable and more parseable.

Also, do a better job of diagnosing editing errors, and don't blindly
erase all quota information for the user being edited when a parse
error occurs after editing.
2012-08-14 03:55:48 +00:00
christos
fe200fdd32 just make the installation ptys (ipty); change it to opty if more needed. 2012-08-14 02:55:00 +00:00
dholland
b743f28223 Bail out early if none of the mounted volumes support quotas. Avoids a
null print in interactive use.
2012-08-13 23:08:58 +00:00
dholland
e8ef0182c9 Minor cleanup: use bitfields instead of a flags word for private state
flags, remove now-unused qfname field.
2012-08-13 22:21:05 +00:00
rkujawa
a906a30f60 Quote company name because Lk macro takes only argument after URL. Cosmetic
fix.
2012-08-13 20:31:15 +00:00
jdc
5e94b74e8f Initial Raspberry Pi support has been pulled up to NetBSD 6.0. 2012-08-13 20:04:12 +00:00
bouyer
001f8eaebc Give AHCI_QUIRK_BADPMPRESET its own bit. Pointed out by Chuck Silvers, thanks ! 2012-08-13 19:42:50 +00:00
martin
ff5fcf4714 Cleanup temporary file 2012-08-13 18:22:25 +00:00
pgoyette
4d0da3bb46 Remove nfsd options as they are no longer needed. 2012-08-13 18:02:32 +00:00
martin
1d5deaee0c Make "fix ptyfsoldnodes" more verbose 2012-08-13 15:17:16 +00:00
ttoth
36435346bd chfs fixes
1. nodes are obsoleted only once during truncating a file
2. frags don't stay in pool_cache
2012-08-13 13:12:51 +00:00
wiz
5c9a0052ca Sync usage with manpage. End it with a newline. 2012-08-13 12:37:18 +00:00
wiz
a0b9ae45e4 Sort options in SYNOPSIS. New sentence, new line. Improve descriptions.
Use more markup. Sort option descriptions. Add arguments to option descriptions.
Punctuation nits.
2012-08-13 12:37:05 +00:00
pgoyette
f283cd004e Add -4 and -6 options to rpd.lockd for consistent control over the
protocols to which it listens.  As discussed on tech-userlevel.
2012-08-13 12:22:21 +00:00
christos
bcbfa15ea9 add fdpass files 2012-08-13 11:26:13 +00:00
christos
79aa9f3662 add fdpass directories 2012-08-13 11:17:43 +00:00
christos
e3b23739ec add fdpass tests 2012-08-13 11:15:05 +00:00
khorben
f7dfa50e40 Fixed build with USE_SSP=yes
ok christos@
2012-08-13 10:25:02 +00:00
martin
d08b85050c Add a ptyfsoldnodes item that checks/removes old /dev/{p,t}ty* nodes
if ptyfs is used.
2012-08-13 10:20:52 +00:00
wiz
b8117286a3 Sort descriptions. Fix macro. Move example to new EXAMPLES section. Add EXIT STATUS section 2012-08-13 08:39:28 +00:00
christos
a0fa559338 Don't create BSD style pty nodes by default anymore since ptyfs is mounted
by default. Mention that this is a security issue, since it allows pty access
through the old style node.
2012-08-13 08:30:51 +00:00
christos
ba9bed30be No need to specify nfsd flags anymore. The defaults DTRT. 2012-08-13 08:20:44 +00:00
christos
eff766617d Let nfsd behave like all other programs: tries to use both inet4 and inet6
by default and both udp and tcp: -4 uses only inet4, -6 uses only inet6,
-t uses only tcp, -u uses only udp. For compatibility, we detect old option
usage, we warn, and DTRT.
2012-08-13 08:19:11 +00:00
martin
66c66d2d86 Make use of the new MODCTL_EXISTS check to query kernel wether (and why
not) we can load modules.
2012-08-13 08:07:03 +00:00
matt
4389fd1152 Add a comment for EABI. Use "pop" instructions to save one instruction. 2012-08-13 02:53:25 +00:00
matt
7c4c75c298 Add support for setting LIB_PATH for MKCOMPAT support. 2012-08-13 02:52:34 +00:00
matt
6456ecbae9 crt* files for ARM EABI. This is pretty different from OABI. crti.S only
has sysident, crtn.S is empty.  True dtor/ctor processing is done elsewhere
(in crt0.o for static or the rtld for dynamic images).  All that is done in
here is either a call to __cxa_finalize (dtor, only when SHARED) or
register_frame_info and _JV_RegisterClasses.
2012-08-13 02:49:04 +00:00
matt
6de169804e Add support for init_array/fini_array (conditionalized on HAVE_INITFINI_ARRAY).
[This is needed for ARM EABI.]
2012-08-13 02:15:35 +00:00
rmind
f95b2549d9 - npfctl show: add most of the missing cases.
- Few minor improvements to NPF man pages.
2012-08-13 01:18:31 +00:00
matt
2b43b3296b Deal with PCIe/PCI hoses with more than one window so the bus_space
encompasses all of it and reserves those portions not assigned so
no one can allocate from them.
2012-08-13 00:52:45 +00:00
tron
058c64094d Postfix 2.8.12 will be in NetBSD 6.0. 2012-08-12 22:20:32 +00:00
martin
b17be398fd Add a missing extern to apeas -fno-common. 2012-08-12 20:50:39 +00:00
tsutsui
fc789a3717 Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.

Should be pulled up to netbsd-6.
2012-08-12 20:00:06 +00:00
gson
64b8af8e8f Add missing locking calls to eso_attach() to avoid panic on boot.
Partly based on a patch from mrg.  Fixes PR kern/46791.
2012-08-12 18:39:32 +00:00
wiz
fb9125d78a - improve wording
- sort option list
- add argument names in option list and descriptions and adjust table width
- improve punctuation
- bump date

From Bug Hunting.
2012-08-12 17:30:03 +00:00
wiz
8630b9004f Improvements: wording, punctuation, macro usage.
From patch by Bug Hunting.
2012-08-12 17:27:04 +00:00