Commit Graph

208124 Commits

Author SHA1 Message Date
kiyohara
b8137ad421 Establish the cascading uic[12] by calling pic_finish_setup(). 2012-01-10 12:17:20 +00:00
tteras
aa9b8479a9 From Rainer Weikusat <rweikusat@mobileactivedefense.com>: Enhance splitnet
environment variable string value generation.
2012-01-10 12:07:30 +00:00
reinoud
b008bd8cf7 Use thunk_madvise() on the memory space hinting the kernel we are using it in
a random order and hint the kernel that we we need the memory.i

No measured effect on a memory file on tmpfs /tmp though.
2012-01-10 12:07:17 +00:00
reinoud
82a0130cc0 Add thunk_madvise() for memory access hints to the host kernel. 2012-01-10 12:04:56 +00:00
ws
f6bb93e4b4 Delete Linux Ethernet Gadget from special handling.
This makes at least the Openmoko Freerunner work again.
Fixes PR kern/45591.
Ok Jeff Rizzo (releng).
2012-01-10 11:32:25 +00:00
reinoud
f88a173e3d Clarify comment about PAGER_MAP_DEFAULT_SIZE 2012-01-10 10:19:38 +00:00
reinoud
77d1be9922 Explicitly protect the kernel image against tampering by marking it R-X 2012-01-10 10:09:49 +00:00
darran
9a00affba3 Fix a segfault in ctfmerge.
GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .

GCC is currently doing this for external/bsd/tmux/dist/compat/imsg-buffer.c:
    readelf -a --debug-dump imsg-buffer.o
	...
	 <2><6e3>: Abbrev Number: 32 (DW_TAG_union_type)
	    <6e4>   DW_AT_byte_size   : 0xffffffff
	    <6e8>   DW_AT_decl_file   : 1
	    <6e9>   DW_AT_decl_line   : 229
	    <6ea>   DW_AT_sibling     : <0x705>

This resulted in ctfconvert generating a faulty CTF entry which then caused the
segfault in ctfmerge.

The fix has ctfconvert check for the bogus 0xFFFFFFFF value and works around it.
It also adds some protection to ctfmerge to avoid the segfault and fail
more gracefully if the error should occur in the future.
2012-01-10 08:42:22 +00:00
snj
c86bce3cfd spz and riz request that we don't list ftp.NetBSD.org's IP addresses. 2012-01-10 01:57:27 +00:00
jakllsch
1dcbeb95de When a port reset fails, it is important to know which port. 2012-01-10 01:43:05 +00:00
liamjfoy
23e0dddc1f minor typo fix 2012-01-09 22:26:44 +00:00
reinoud
9222cee124 If the spl list is full also notify on the ttycons since it might otherwise
not allways be possible to print the panic correctdue due to the spl level.
2012-01-09 22:20:53 +00:00
skrll
7780856071 Fix NetBSD version in history. 2012-01-09 22:08:12 +00:00
reinoud
d74ce82ce1 Re-implement aio for ld_thunkbus. It seems to work fine though its not set by
default; define LD_USE_AIO or uncomment its setting at the top of the
sourcefile to enable it.
2012-01-09 21:01:31 +00:00
reinoud
8b9e5ff328 Don't directly call softint_shedule() when we might be in an SPL level too
high.
2012-01-09 20:39:39 +00:00
skrll
cf078c1502 KNF 2012-01-09 19:40:54 +00:00
skrll
71f408f0ea Update for hp700. Bump date. 2012-01-09 19:40:09 +00:00
skrll
4d8cde761c s/ISO9660/ISO 9660/ for consistency with rest of man page. 2012-01-09 19:39:18 +00:00
agc
02bc0c2173 also add union file system 2012-01-09 19:25:40 +00:00
sborrill
1e3389e580 Add dkctl to install ramdisk so that you can enable disk writecaches before
install, if necessary.
2012-01-09 17:45:03 +00:00
skrll
b2ab995d00 Fix set list. kame_ipsec.html was missing. 2012-01-09 16:59:36 +00:00
christos
8ec0ca7829 PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- separate MKCRYPTO from USE_KERBEROS
- WARNS=4
2012-01-09 16:36:48 +00:00
wiz
9bc46f7ca5 Fix another reference to point to kame_ipsec for setup instructions (for now). 2012-01-09 16:35:20 +00:00
drochner
9d939b40a9 fix confusing references, from wiz 2012-01-09 16:17:37 +00:00
christos
fcdbba429b PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- Minimal diffs to separate MKCRYPTO from USE_KERBEROS
2012-01-09 16:08:55 +00:00
skrll
d2845d9eb6 Add a mkboot(8) man page. 2012-01-09 16:04:45 +00:00
skrll
445193e81f Use NOMAN and delete a file. 2012-01-09 16:03:26 +00:00
dholland
84ed28bf40 Implement quota_put and quota_delete for the fallback direct file
access backend.
2012-01-09 15:45:19 +00:00
dholland
1d7acc6b80 "quotaclass" -> "idtype". After lengthy wrangling on the mailing lists
the best conclusion for naming was to give up on "classes" and "types"
and use "idtype" for users vs. groups and "objtype" for blocks vs. files.
2012-01-09 15:44:42 +00:00
dholland
e5303f01df Use quota_put() and quota_delete() to update quotas instead of making
quota proplib RPCs.
2012-01-09 15:44:05 +00:00
dholland
583f7defcf Implement quota_put() and quota_delete() using code from edquota(8). 2012-01-09 15:43:19 +00:00
dholland
914924d7f5 Remove the explicit fallback direct file access code from repquota and
rely on libquota.
2012-01-09 15:42:37 +00:00
drochner
e3fa29b8b1 allow the ESP fragment length in the NAT-T case to be reported back
through the pfkey interface, kernel part of PR kern/44952
by Wolfgang Stukenbrock
2012-01-09 15:42:08 +00:00
dholland
8d70e807c3 Implement fallback direct access to quota1-type quota files.
Uses (mostly) code from repquota. Add some missing pieces that
weren't in repquota.

Use the direct file access code for cursors if proplib reports the
quota version is 1.
2012-01-09 15:41:58 +00:00
wiz
59bb0b8307 Bump date for previous. 2012-01-09 15:41:21 +00:00
dholland
ded45e2c70 Make repquota use the libquota cursor interface. 2012-01-09 15:40:47 +00:00
dholland
857bee05cd Implement the libquota cursor interface, using proplib code from repquota. 2012-01-09 15:40:10 +00:00
dholland
b5dd1f89ec More work on repquota.
- open quotahandles, pass them around, use them for metadata
   - split up some of the proplib code
2012-01-09 15:38:59 +00:00
dholland
62c8373cdf Begin cleaning up repquota. 2012-01-09 15:38:20 +00:00
dholland
24118eee5e Update rquotad to use the new libquota API. 2012-01-09 15:37:34 +00:00
dholland
c64bfb1c4d Clean up usr.bin/quota to use the new libquota API.
(with one relatively minor exception remaining)
2012-01-09 15:35:44 +00:00
dholland
22363307c5 Implement the schema-related functions, using proplib code from
/usr/bin/quota.
2012-01-09 15:34:34 +00:00
dholland
fa6b6291ec Handle default ID case in quota_get(), based on logic found in
/usr/bin/quota.
2012-01-09 15:32:38 +00:00
dholland
9f8b8c04bd Redo getfsquota() and getnfsquota() using the new API.
Change the previous getufsquota() to __quota_getquota() and call it
from all three functions: getfsquota(), getufsquota(), and getnfsquota().
2012-01-09 15:31:11 +00:00
dholland
2957f1ccb8 Add quota_nfs.c and implement quota_get() for nfs, using
code from getnfsquota().

Also implement quota_getmountdevice().
2012-01-09 15:29:55 +00:00
dholland
2ff48b73e6 Rework getufsquota() in terms of the new quota API. 2012-01-09 15:28:31 +00:00
dholland
8d8965ace0 Add initial versions of quota_open(), quota_close(), quota_get(),
calling proplib code mostly taken from getufsquota().

Correct the proplib refcount handling in the code from getufsquota(),
where it was (as far as I can tell) wrong.

Avoid doing illegal and unsafe casts from (struct quotaval *)
to (uint64_t *).
2012-01-09 15:27:04 +00:00
christos
6a6c8f616b PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION
(rfc2941)
- minimal fixes to compile with WARNS=4
- separate kerberos (USE_KERBEROS) from encryption (MKCRYPTO)
2012-01-09 15:25:33 +00:00
drochner
4fa381bcb2 allow setkey(8) set and display the ESP fragment size in the NAT-T case,
userland part of PR kern/44952 by Wolfgang Stukenbrock, just changed
the "frag" option name to "esp_frag", for consistency to the existing
option of similar effect in racoon(8)
2012-01-09 15:25:13 +00:00
dholland
e15d192c7f Bump minor version of libquota.so. 2012-01-09 15:24:37 +00:00