Commit Graph

208814 Commits

Author SHA1 Message Date
dholland
832d4ca72b Be consistent about whether idtype and objtype codes are signed or
unsigned. They are signed. (While unsigned might have been a better
choice, it doesn't really matter and the majority of preexisting uses
were signed. And consistency is good.)
2012-02-01 05:46:45 +00:00
dholland
d2d6fa0ae1 Improve the names of some members of struct quotactl_args. These are
effectively function parameter names, but since they need to be
described with the same names in the man page the choices do matter.
Some.
2012-02-01 05:43:53 +00:00
dholland
56cf2d9a90 Regen syscalls with proper id info. 2012-02-01 05:42:17 +00:00
dholland
6d90c35d73 Update compat_netbsd32 for new quotactl. 2012-02-01 05:40:00 +00:00
dholland
a90e43f7de Split out a do_sys_quotactl for compat_netbsd32. 2012-02-01 05:39:28 +00:00
dholland
59b296daa7 Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
   - add sys/stdint.h to sys/quotactl.h for clean userland build
   - install sys/quotactl.h in /usr/include
   - update set lists for same
   - add new marshalling code in libquota
   - add new unmarshalling code in vfs_syscalls.c
   - discard proplib interpreter code in vfs_quotactl.c
   - add dispatching code for the 14 quotactl ops in vfs_quotactl.c
   - mark the proplib quotactl syscall obsolete
   - add a new syscall number for the new quotactl syscall
   - change the name of the syscall to __quotactl()
   - remove the decl of the old quotactl from quota/quotaprop.h
   - add a decl of the new quotactl to sys/quotactl.h
   - update the libc build
   - update ktruss
   - remove proplib marshalling code from libquota
   - update copy of syscall table in gdb ppc sources
   - hack rumphijack to accomodate new quotactl name (as I recall,
     pooka wanted such a name change to simplify something, but I
     don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
2012-02-01 05:34:38 +00:00
matt
413fb4c3c5 Enable XBSEN and HIGHBAT for OEA 7455 and related CPUs.
The BAT entries now have a resolution of 8MB.  (Adjacent entries are merged
up to a total of 2GB per entry).
2012-02-01 05:25:57 +00:00
dholland
29b925e01b Add QUOTACTL_IDTYPESTAT and QUOTACTL_OBJTYPESTAT for retrieving info
about idtypes and objtypes. This avoids compiling in the names of
the id and object types.

I overlooked this last week because the proplib syscall interface has
no way to convey this information.

Renumber the operation codes again (since we still can) to insert
the new operations into the list in a semantically sensible place.

Requires kernel version bump.
2012-02-01 05:16:56 +00:00
dholland
f9735fd481 Reimplement repquota -x to print in tabular form instead of XML. 2012-02-01 05:12:45 +00:00
dholland
793f08e02d Fix problems in cursor iteration that came to light when iterating one
value at a time, instead of in bulk. Yeah, repquota should do bulk get,
but it doesn't yet.
2012-02-01 05:10:44 +00:00
dholland
f2da15f559 Remove unwanted decl of the old quotactl syscall. 2012-02-01 05:07:08 +00:00
nisimura
94c24683fe add MINI2440_INSTALL image to the distribution. 2012-02-01 03:35:14 +00:00
matt
72094f6fb4 When using socket loaning, make sure the KVA used for the loan has the same
color as the UVA being loaned.
2012-02-01 02:27:23 +00:00
matt
4444dd3f00 Use right UVM_xxx_COLORMATCH flag (even both use the same value). 2012-02-01 02:22:27 +00:00
christos
20c1167f54 ansify 2012-02-01 02:21:19 +00:00
matt
c97a1e79d0 Add ALIGNBYTES32/ALIGN32 for netbsd32. 2012-02-01 02:05:51 +00:00
matt
645c524104 Fix early console support. 2012-02-01 02:05:14 +00:00
matt
2144269334 Use C89 function prototypes. 2012-02-01 02:02:07 +00:00
matt
737a317ffe Use C89 prototypes. 2012-02-01 02:01:28 +00:00
matt
f7a1e1f692 Add missing *at syscalls among others 2012-01-31 22:53:56 +00:00
matt
1c72d69ada Regen. 2012-01-31 22:53:28 +00:00
matt
886e1e0fe1 Add the *at syscalls and other missing syscalls. 2012-01-31 22:52:19 +00:00
matt
f79a630ee2 Add netbsd32_socklenp_t 2012-01-31 22:51:41 +00:00
para
87e1bb3268 unbreak the sun2 pmap 2012-01-31 22:47:08 +00:00
hauke
2413e475f1 Employ the two free 16 bit timers of the Hurdler Centronics Parallel
Interface card's Z8536 CIO for Timecounter support.

Builds, should work, but not testable yet because of pmap breakage.
2012-01-31 22:13:19 +00:00
wiz
8599966dc6 Sync usage with man page. 2012-01-31 21:53:42 +00:00
kardel
f003fb54cd Import ntp 4.2.6p5 2012-01-31 21:18:50 +00:00
mlelstv
780696aa56 Enable build of crash(8) for m86k platforms. 2012-01-31 21:17:57 +00:00
phx
b45f14c96e Print MPC8245 cpu speed. We can calculate it using the PLL ratio. 2012-01-31 21:12:03 +00:00
alnsn
976959cf87 Revert to more readable but non-standard use of offsetof to calculate
a size of a structure with a flexible array member.
2012-01-31 20:40:09 +00:00
uwe
4d9bf144be Implement crtbegin* for sh3. Tested to work on landisk. 2012-01-31 20:30:15 +00:00
uwe
1415c6da05 New ___start() C function takes 3 arguments instead of 6 and fetches
argc, argv and environ from ps_strings instead.  Adjust the trampoline
accordingly.

Fix brain fart in previous: direct jump is jmp @rN, not bsrf rN.
2012-01-31 20:17:57 +00:00
uwe
cd23fa6d26 Use unambiguous .p2align 2 since .align 4 copied from i386 is
incorrect, as .align is .p2align on sh3, not .balign
2012-01-31 20:12:47 +00:00
kardel
6aeabc3d7b update ntp current version 2012-01-31 20:11:41 +00:00
uwe
5ade3e48ae Move crt0.S in front of crt0-common.c when building crt0.o and gcrt0.o.
Reading disassembly is easier when the asm crt0.S trampoline is at the
start, not hidden behind the C code in crt0-common.c.
2012-01-31 20:08:28 +00:00
kardel
7f5b6b22a1 fix instructions in comment part 2012-01-31 20:05:13 +00:00
uwe
1ecbaba27e Hmm, funny. I wonder why and how did emacs VC managed to add
Warning: Permanently added the RSA host key for IP address '...' to the list of known hosts.

to the committed file. (hi, new cvs!)
2012-01-31 20:03:50 +00:00
uwe
cfdbe19d5f Use -DPIC to compile crtbeginS.o since that's what <machine/asm.h>
headers check.
2012-01-31 19:58:22 +00:00
alnsn
04804f532f Replace offsetof(pcq_t, pcq_items[nitems]) with sizeof(pcq_t) + sizeof(void *[nitems]). 2012-01-31 19:11:37 +00:00
njoly
dcea8cfc3c owner testcase now succeed with rumpfs. 2012-01-31 19:02:49 +00:00
njoly
d04e1e754f Check credentials when setting uid, gid or mode attributes. 2012-01-31 19:00:03 +00:00
njoly
8e54f08b1f Check directory write access for DELETE operation. And while here,
small indentation adjust.
2012-01-31 18:56:07 +00:00
christos
c966a89be8 PR/45897: Takahiro Kambe: Make default display < 80 characters and add -w flag
to display unlimited
2012-01-31 16:30:40 +00:00
wiz
71fcb57d88 Remove trailing whitespace.
New sentence, new line.
Remove Pp before Sh.
Sort sections.
Use more markup.
Remove unnecessary macro arguments.
2012-01-31 13:25:05 +00:00
nisimura
6e0f9f1c21 introduce evbarm bootmini2440(8) man entry. 2012-01-31 12:23:32 +00:00
nisimura
bd47c13c7b - add TFTP loading facility.
- SD/MMC load default is now "ld0a:netbsd"
2012-01-31 11:04:17 +00:00
hauke
2e878a9dca Fix AppleTalk name registration, as discussed on the port-macppc list
<http://mail-index.netbsd.org/port-macppc/2010/07/09/msg001119.html>
and in PR kern/44412, by looping back ddp broadcasts.

Patch submitted by David Riley against netbsd-5, adaptation for
-current and minor KNF touchup by me.

Needs to be pulled up to netbsd-5.
2012-01-31 09:53:44 +00:00
darrenr
714fe0e37d PR bin/45894
ipftest core dumps when running tests
2012-01-31 09:41:37 +00:00
roy
5c9f9c92ee Import dhcpcd-5.5.1 with the following changes:
* Don't start IPv6 RS if disabled globally
* Allow dhcpcd to run on a read only filesystem
* Don't attempt to run the script if an empty string or /dev/null
* Stop truncating the netmask sockaddr on routing messages for BSD
2012-01-31 09:39:47 +00:00
roy
059fa35111 Import openresolv-3.4.6 with the following change from 3.4.5
* dnsmasq subscriber correctly sets IPv6 domain specific servers over dbus
2012-01-31 09:19:58 +00:00