Commit Graph

160456 Commits

Author SHA1 Message Date
vanhu
c3bc7fe364 use a single PATH_IPSEC_H to fix some path_to_ipsec.h issues 2007-07-18 12:07:49 +00:00
joerg
0ca21723a0 A number of queue(3) macros use NULL, so ensure that it is present. 2007-07-18 12:07:35 +00:00
uwe
0fbcabef5c Implement footbridge_mem_bs_mmap. Needed for mmaping igsfb(4)
framebuffer on netwinder.
2007-07-18 09:47:49 +00:00
lukem
00ff9c6dba Document about:ftp and about:version. 2007-07-18 06:40:01 +00:00
he
971b1c1aaf After the recent mount changes, COMPAT_AOUT_M68K now depends on COMPAT_40. 2007-07-18 06:29:26 +00:00
lukem
3ae239d786 Attempt to raise the default signal handler (SIG_DFL) when exiting
because of a signal, rather than just relying upon _exit(2).
2007-07-18 01:32:33 +00:00
lukem
2c1030d08e Attempt to raise the default signal handler (SIG_DFL) when exiting because
of a signal, rather than just relying upon exit(3).
2007-07-18 01:13:42 +00:00
lukem
a93b9bed51 Remove duplicate printing of program name in panic().
Remove now-unnecessary global variable "namep".
2007-07-18 01:06:08 +00:00
christos
95405cdada PR/36664: Greg A. Woods: Document a simpler and safer way to find gcc's
pre-defined macros.
XXX: Where is the source of this file? Can we pass this upstream?
2007-07-18 00:00:21 +00:00
christos
7f593965ea cast sizeof() to int for printf widths. 2007-07-17 23:56:01 +00:00
christos
b41e460cba kill MFSNAMELEN [the definition].
Next MNAMELEN.
2007-07-17 22:17:06 +00:00
christos
63bf90c624 Eliminate MFSNAMELEN 2007-07-17 22:00:46 +00:00
christos
9e211aafa1 Kill MFSNAMELEN 2007-07-17 21:50:07 +00:00
christos
6660b4f3b5 eliminate MFSTYPENAME 2007-07-17 21:36:18 +00:00
christos
b1b89f5d46 eliminate MFSNAMELEN 2007-07-17 21:35:29 +00:00
christos
c9d7b911ee Eliminate MFSNAMELEN 2007-07-17 21:26:41 +00:00
christos
785c01892b eliminate MFSNAMELEN 2007-07-17 21:20:43 +00:00
christos
3f6a396697 get rid of MFSNAMELEN 2007-07-17 21:15:41 +00:00
christos
b50aaed545 - get rid of MFSNAMELEN
- use strlcpy instead of strncpy.
- make sure some uses of statvfs strings are NUL terminated
  XXX: more work needs to be done on that.
2007-07-17 21:14:05 +00:00
dsieger
55e48935f0 Remove references to SCHED_LOCK(9), which is gone. Slightly sync with
reality.

XXX: This needs more updates after idle-lwp changes.
2007-07-17 20:56:22 +00:00
christos
f25f73fe50 include <compat/sys/mount.h> for MFSNAMELEN 2007-07-17 20:54:45 +00:00
christos
9558d8b2f1 include <compat/sys/mount.h> for MFSNAMELEN. 2007-07-17 20:53:49 +00:00
christos
289334c878 include <compat/sys/mount.h> for MFSNAMELEN 2007-07-17 20:51:15 +00:00
christos
35cb28e6eb kill MFSNAMELEN 2007-07-17 20:41:23 +00:00
christos
18754a7640 kill silly constants. 2007-07-17 20:39:42 +00:00
joerg
22549e91c8 Consider '\r' to be white space. Discussed with and also kept as local
change by freza. With this change, DOS style line endings work.
2007-07-17 20:36:38 +00:00
christos
ecb7144e3a include <compat/sys/mount.h> MFSNAMELEN 2007-07-17 20:36:11 +00:00
christos
66c05241ca include compat/sys/mount.h for MFSNAMELEN, although not used yet. 2007-07-17 20:34:40 +00:00
christos
1b3668b8ef use the compat MFSNAMELEN 2007-07-17 20:33:17 +00:00
christos
515c243672 MFSNAMELEN only belongs in compat. 2007-07-17 20:31:03 +00:00
christos
27e0d2b78b kill MFSNAMELEN 2007-07-17 20:17:52 +00:00
christos
a6e0a40b9f kill MFSTYPENAME 2007-07-17 20:13:43 +00:00
christos
fede0a77fc kill MFSNAMELEN 2007-07-17 20:03:10 +00:00
matt
6b725ae5ed Make matt-timespec branch as inactive
Add matt-mips64 branch.
2007-07-17 19:42:40 +00:00
xtraeme
37fa16db65 Return the value returned by prop_dictionary_recv_ioctl() if the -x flag
is specified too.
2007-07-17 18:15:02 +00:00
joerg
bd507b5729 Regen. 2007-07-17 18:03:09 +00:00
xtraeme
d11db10f38 Add more debugging printfs to catch sensors with duplicate description,
and some cosmetic ones.
2007-07-17 17:56:04 +00:00
joerg
e4fc1154a4 Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.
2007-07-17 17:42:07 +00:00
xtraeme
8b1500977e - Return the value returned by prop_dictionary_{recv,send}_ioctl
in all cases.
- Skip sensors that do not have a description object in its dictionary.
2007-07-17 17:40:59 +00:00
xtraeme
92f4397e50 Explain a bit more about edata->desc being unique in a device. 2007-07-17 17:10:58 +00:00
xtraeme
fc370c98c4 Skip sensors with the same description on the same device at attach time,
if the description of it is not unique, mark the sensor with
ENVSYS_FDUPDESC, return EEXIST and continue.

Also, when changing a description, check that the new description is not
assigned by any other sensor, otherwise return EEXIST.

Note that these restrictions are only per device. Fixes PR kern/36660.
2007-07-17 16:47:58 +00:00
daniel
bcb48b7bb5 Add VIA_PADLOCK. 2007-07-17 16:40:21 +00:00
pooka
ce80f00ff3 With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".
2007-07-17 16:33:27 +00:00
pooka
9ee5fb2795 nuke accidental debug printf 2007-07-17 16:00:56 +00:00
xtraeme
0a6f85e0f3 Only allow to use ENVSYS_SETDICTIONARY if the user has write permission
in the /dev/sysmon device.

Use O_RDONLY for ENVSYS_GETDICTIONARY and O_RDWR for ENVSYS_SETDICTIONARY
in envstat(8).

Fixes PR kern/36661 by YAMAMOTO Takashi.
2007-07-17 15:43:08 +00:00
he
8f6c85ab27 Patterned after sgimips, move include of <machine/intr.h> to only be done
when _KERNEL is defined and _LOCORE isn't.  Fixes build problem in the
extent regression test.
2007-07-17 14:36:25 +00:00
xtraeme
e8d5f35d1f Do not shutdown the system when a critical event is received, this
doesn't work when there are two or more batteries in acpibat(4).
2007-07-17 13:56:25 +00:00
xtraeme
2577f77bbc Add the -r flag, which is a dummy flag... only added for compatibility
reasons.
2007-07-17 13:12:46 +00:00
pooka
91896524c2 Don't attempt to start megamaid if run with MNT_GETARGS. 2007-07-17 12:39:24 +00:00
pooka
0038fe558b Use "sysctlfs" as the type name instead of the mountpath.
Methinks it's nicer that way.
2007-07-17 12:03:46 +00:00