Commit Graph

154185 Commits

Author SHA1 Message Date
elad
97f57b38e7 PR/35021: Brian de Alwis: root cannot get/set rlimit information of user
processes through sysctl

Fix inverted logic in boolean assignment. This is why these tests should
not be done outside the secmodel code.

Thanks for the report.
2006-12-05 21:30:50 +00:00
macallan
27138de097 move int j into #ifdef COMPAT_30 to avoid an unused variable warning when
building without COMPAT_30
2006-12-05 20:45:36 +00:00
macallan
f2ee53a3d8 Enable the .note.netbsd section for macppc 2006-12-05 20:41:46 +00:00
christos
2a209e4f3a blurb about mail changes. 2006-12-05 19:01:42 +00:00
christos
682562feb0 fix compilation issues. 2006-12-05 17:35:35 +00:00
skrll
7e7373acc9 Enable the .note.netbsd section for hppa. 2006-12-05 16:58:11 +00:00
is
f70b506cfb use m_adj instead of explicit pointer manipulation 2006-12-05 16:36:14 +00:00
is
a1f6d5cc3f explain magic constant 2006-12-05 16:33:56 +00:00
martin
fe8307c191 Enable the .note.netbsd section 2006-12-05 16:17:20 +00:00
martin
884e5dfbd6 Properly mark the .note.netbsd.ident section as ELF NOTE section.
While there, enable the mark for sparc64.
2006-12-05 16:15:53 +00:00
pooka
05b1899256 only count directories in the number of hard links to a directory 2006-12-05 14:32:03 +00:00
vanhu
3db7f7800e Check keys length regarding proposal_check level 2006-12-05 13:38:40 +00:00
kleink
bd9764c5df tz{code,data}2006p out; tzdata2006p imported. 2006-12-05 11:27:31 +00:00
kleink
f7c8b2f850 Merge tzdata2006p. 2006-12-05 11:26:10 +00:00
kleink
668014aba7 Import tzdata2006p. 2006-12-05 11:24:15 +00:00
lukem
287af45b8d Crank copyright.
Whitespace & linewrap consistency tweaks.
2006-12-05 10:26:28 +00:00
martin
7013a4813d If we do DHCP (so our ifconfig.* file only has a "up" line), still
write media selection information, if the user chose anything special.
Pointed out by Georg Schwarz in PR 31448.
2006-12-05 10:21:09 +00:00
lukem
24891c430b Fix method to find pf.os so it works with '-s etc.tgz'.
PR 35185 by Valeriy E. Ushakov.

Don't bother to find pf.conf first; the code was a noisy no-op.
2006-12-05 10:18:41 +00:00
pavel
60ca34bcae Add forgotten #include "opt_compat_netbsd.h" because COMPAT_30 is used.
Should fix a build problem reported by Blair Sadewitz.
2006-12-05 08:17:03 +00:00
christos
9a150e0221 revert debug flags I accidentally committed before. 2006-12-05 03:52:02 +00:00
christos
67e2fbb036 fix a core-dump and do some more error checking via asserts. From Anon Ymous 2006-12-05 03:47:41 +00:00
elad
ca185532f5 sparc64: don't enable PaX MPROTECT by default for now.
sparc: add commented out 'FILEASSOC'.
2006-12-04 23:43:35 +00:00
dsl
014cba747c There really is no point calling estrdup() to get a copy of the makefile name
into every 'gnode' (aka target), instead just copy a pointer to the string
and avoid freeing the original name when we close the file.
I can't imagine any makefile set where this gives a larger footprint!
2006-12-04 21:34:47 +00:00
agc
221d869ea3 Minor cosmetic changes:
1. use EXIT_SUCCESS and EXIT_FAILURE, rather than 0 or 1, throughout
2. add some comments
3. use descriptive names for variables, so that their use is easily
gleaned.
2006-12-04 21:22:40 +00:00
jdolecek
20480d6fc5 allow compilation without SUPPORT_UTMP 2006-12-04 21:13:22 +00:00
elad
edad69123e PR/25741: ITOH Yasufumi: ras(9) sequence is not protected against ptrace(2)
Okay christos@
2006-12-04 18:50:19 +00:00
christos
33b30b1ee3 From Nicolas Joly: restore previous behavior in procfs_validfile_linux, since
readdir passes a NULL lwp.
2006-12-04 18:27:52 +00:00
tsutsui
8687a698bd Add the following network devices:
- wm* at pci?
- makphy* at mii?
- rgephy* at mii?
- rlphy* at mii?
Tested with RTL8139C, RTL8169S-32, and i82544EI on EB164.
2006-12-04 17:33:41 +00:00
kleink
b290748021 Restore i18n wrapping removed in previous. 2006-12-04 17:24:40 +00:00
hubertf
e135fa8ee4 Update to describe current API (only), and not duplicate that can be
found elsewhere. (And which will appear in the NetBSD Internals Guide
soonish).

Submitted by Daniel Sieger <dsieger@TechFak.Uni-Bielefeld.DE>,
OK'd by martin@ and  yamt@
2006-12-04 15:36:23 +00:00
is
4fe0853ea1 Typo in comment. 2006-12-04 15:14:45 +00:00
tnozaki
57f0023ef8 catch up KS X 1001:2002: added U+327E - CIRCLED HANGUL IEUNG U. 2006-12-04 15:01:42 +00:00
wiz
1f1eabcdb7 Use more markup. Use HTML escapes. Use .Rs/.Re for book citation. 2006-12-04 13:16:59 +00:00
pavel
edab74570a Move the description of sysctl MIBs from sysctl.3 to a new manual page
sysctl.7. Remove the list of MIBs from sysctl.8 so we don't have to
maintain duplicate information, as proposed by YAMAMOTO Takashi on
tech-userlevel. Also remove references to header files from sysctl.8.

The numeric constants remain documented, they are still needed in some
cases. See the discussion on tech-userlevel. ("mib list in sysctl.8")

OK by YAMAMOTO Takashi.
2006-12-04 08:59:13 +00:00
wiz
aea503a0e4 libevent-1.2a out. 2006-12-04 08:30:22 +00:00
agc
a1ab0bea62 Normally, veriexecgen will treat an error such as a dangling symlink,
or an inability to get the real path, as fatal.

Be a bit more verbose about this in the default case - tell the user
which directory entry caused the failure.

Also introduce a new -W flag, which will warn the user about the
error, but will still continue processing - it treats errors as
warnings, and allows a signatures file to be built.
2006-12-04 07:06:56 +00:00
rpaulo
08a924d363 Mention wpa_supplicant rc script.
Noted by hubertf@
2006-12-04 03:52:26 +00:00
xtraeme
44b708d7c5 ACPI-CA 20060912 is the latest version available. 2006-12-04 03:05:51 +00:00
dyoung
dcabc5c2e5 Make code concise by removing uninformative #ifdef's. 2006-12-04 03:02:48 +00:00
dyoung
9534d9db92 Indent these macros for readability. People have to read this
code, too.
2006-12-04 02:59:35 +00:00
dyoung
1b9b487578 Lightly constify. Helps compile-time checking that we are not
scribbling over shared or read-only memory---e.g., in mbufs.
2006-12-04 02:58:06 +00:00
dyoung
a291eaf06c KNF. 2006-12-04 02:53:17 +00:00
dyoung
a2ab81c489 Change date to reflect today's change.
Try to get groff -mdoc to stop inserting extraneous linebreaks---no
luck!
2006-12-04 02:51:07 +00:00
dyoung
627864e36f Per discussion on tech-net@, discard the address-munging hack that
let one create a tunnel with equal inner and outer destination IP
numbers.  Update gre(4) documentation for this change.

Extract subroutine  gre_update_route() from gre_compute_route(),
and always call it in gre_output() to freshen the route for
tunnel-encapsulated packets.
2006-12-04 02:40:15 +00:00
dyoung
fdab81c3b0 No need for a struct route_in6 in pf_route6(). Replace it with a
sockaddr_in6.

In pf_calc_mss(), factor common code out of PF_INET and PF_INET6
switch cases.
2006-12-04 02:28:12 +00:00
dyoung
31730224f4 In gre_clone_destroy,
1 use splnet() to synchronize gre clone destruction with interrupts,
  and
2 wait to call if_detach() until after joining the gre kernel
  thread.
2006-12-04 01:49:47 +00:00
dyoung
e45f67b8b4 Extract subroutines rn_walkfirst() and rn_walknext() from rn_walktree().
No functional change intended.

Add some new diagnostic code, bracketed by #ifdef RN_DEBUG, that
uses the two new subroutines to walk and print a tree.

XXX The format of the diagnostic print-outs needs improvement.
2006-12-04 01:45:50 +00:00
dyoung
add8c1de7f Add rtw at pci to the GENERIC kernel. 2006-12-04 01:32:37 +00:00
dyoung
571fae988f Compile gre(4) into the GENERIC kernel. 2006-12-04 01:30:56 +00:00
dyoung
7e5a475027 Replace the temporary variable ndst with rt_key(rt). This will
simplify the application of RADIX_MPATH patches.

No functional change intended.
2006-12-04 00:56:44 +00:00