tjr
bfd4cfc4dc
FA, FB and FC are lead bytes according to recent Microsoft documentation.
2002-10-14 01:50:45 +00:00
tjr
061d1d394f
Style changes. Mainly removing excessive whitespace and parens.
2002-10-14 01:46:18 +00:00
alc
d7c3f24729
Eliminate the unnecessary clearing of flag bits that are already clear
...
in lio_listio(2).
2002-10-14 01:21:37 +00:00
tjr
f884e12d21
Add Big5, MSKanji and UTF-8 to the list of supported encodings.
...
Mark UTF2 as being deprecated.
2002-10-14 00:45:51 +00:00
grog
6d7a906aa2
Clarify that a number of incidents relate to Germany.
...
This file contains a number of incidents which do not related to
Germany. It's not clear whether they should remain or not, so I have
left them.
2002-10-14 00:45:13 +00:00
obrien
b6ff61943b
Take a guess at what WARNS level will make this compile on ia64.
2002-10-14 00:05:49 +00:00
phk
4dbebb44b1
Add in the GEOM control module.
...
Sponsored by: DARPA & NAI Labs.
2002-10-13 20:36:47 +00:00
phk
1eafd1bc95
Add the outline of the "/dev/geom.ctl" handling code.
...
Sponsored by: DARPA & NAI Labs.
2002-10-13 20:33:33 +00:00
jake
083845b5c0
Compile in support for zipfs and bzipfs so we can load the gzipped mfsroot
...
that releases use.
2002-10-13 18:52:46 +00:00
cognet
c67390b43d
Connect trm(4) to the build.
...
Reviewed by: mux (mentor)
Approved by: mux (mentor)
2002-10-13 18:44:26 +00:00
phk
a95c8cfb24
Give GEOM modules a chance to specify their own init routine, in case they
...
have special requirements.
Sponsored by: DARPA & NAI Labs.
2002-10-13 18:42:35 +00:00
jake
521f97afae
Add beginnings of sparc64 release magic.
2002-10-13 18:36:06 +00:00
cognet
20c51b1bbd
Import of the trm(4) driver (for Tekram DC395U/UW/F and DC315U SCSI adapters).
...
Reviewed by: mux, scottl
Approved by: mux, scottl
2002-10-13 18:32:39 +00:00
jake
99f37adfdd
MODINFO_SIZE metadata has type size_t, not unsigned. This makes preloaded
...
md root work on sparc64.
2002-10-13 18:19:22 +00:00
phk
c78ac11587
Correctly account for MAXPARTITIONS in the CTASSERT() which protects the
...
size of the disklabel structure.
Hit by: schweikh
2002-10-13 17:28:14 +00:00
rwatson
e503981b22
Remove root from the kmem, sys, tty, and staff groups in the default
...
configuration. Root privileges override DAC on local file systems and
therefore root does not generally need to be a member of a group to
access files owned by that group. In the NFS case, require explicit
authorization for root to have these privileges.
Leave root in operator for dump/restore broadcast reasons; leave root
in wheel until discrepencies in the "no users in wheel means any user
can su" policy are resolved (possibly indefinitely).
2002-10-13 17:00:37 +00:00
mike
274818ff2c
Remove the P1003_1B kernel option; it is no longer used.
2002-10-13 16:29:17 +00:00
rwatson
3f24148d9c
For consistency with other entries in group, don't put the daemon or
...
xten users in their groups explicitly--we pick that up from the gid
field in master.passwd.
2002-10-13 16:26:26 +00:00
mux
fc294fdaf0
- Remove a useless initialization for 'ronly', if it hadn't been
...
there, we would have noticed that 'ronly' was uninitialized :-).
- Kill a nearby 'register' keyword.
2002-10-13 16:13:11 +00:00
phk
7753ea4ce0
Pass flags to VOP_CLOSE() corresponding to what was passed to VOP_OPEN().
...
Submitted by: "Peter Edwards" <pmedwards@eircom.net>
2002-10-13 16:04:46 +00:00
mike
289d041ef1
struct ia64_fpreg needs to be available outside of the kernel for
...
struct sigcontext.
Pointy hat to: mike
2002-10-13 15:30:17 +00:00
mike
e20d2b8d8d
Remove <sys/_posix.h>; nothing uses it anymore.
2002-10-13 15:05:56 +00:00
mike
2a56301cd0
Remove _KPOSIX_VERSION as a kernel option, nothing uses this any more.
2002-10-13 14:29:04 +00:00
mike
ca4781fcfe
Update a sysctl to use _POSIX_VERSION from <sys/unistd.h>, instead of
...
the kernel option _KPOSIX_VERSION.
2002-10-13 14:26:29 +00:00
mike
652e37b5de
Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, so
...
that it can be used in-kernel for a sysctl.
2002-10-13 14:25:01 +00:00
mike
ca337b355f
#ifdef _KERNEL not #if _KERNEL.
...
Pointy hat to: mike
2002-10-13 12:33:38 +00:00
ru
5af69de216
Oops, missed that in rev. 1.35.
...
Spotted by: make release
2002-10-13 12:22:57 +00:00
mike
86f382153e
Include <sys/_posix.h> directly instead of depending on <sys/proc.h>
...
to include <sys/signal.h> to include <sys/_posix.h>.
2002-10-13 11:54:16 +00:00
kris
10962700eb
Don't call report() without a format string.
...
MFC after: 3 days
2002-10-13 11:27:36 +00:00
kris
2e6c3a2849
Mark the logerr() function __printflike().
...
MFC after: 3 days
2002-10-13 11:26:37 +00:00
kris
5b0c1af47d
Use strlcpy instead of incorrectly using strncpy.
...
MFC after: 2 weeks
2002-10-13 11:25:31 +00:00
kris
12bba2e84c
Dump in $TMPDIR if !setugid, and use mode 0644 instead of 0666.
...
MFC after: 2 weeks
2002-10-13 11:23:31 +00:00
kris
71c7a4a40e
Ignore TMPDIR if the application is setugid.
...
MFC after: 2 weeks
2002-10-13 11:22:16 +00:00
tjr
a803330bc2
FreeBSD's libedit does not include NetBSD's readline emulation code.
...
Remove references to it from the Authors and History sections.
2002-10-13 08:46:57 +00:00
ru
dfc02b315d
Support FreeBSD versions starting from 4.0-RELEASE.
...
Reminded by: imp
2002-10-13 08:36:16 +00:00
marcel
4e38a7aca1
Build the kernel with -mconstant-gp. This means that function calls,
...
with the exception of indirect function calls, are assumed to be
intra load module and thus that GP will be the same. This avoids
saving, setting and restoring GP for each function call and
reduces the kernel with ~320KB. There's obviously a performance
benefit as well.
Note that since we generally don't know if calls will be intra or
inter load module when we're compiling kernel modules, -mconstant-gp
cannot be used for modules.
2002-10-13 07:07:51 +00:00
jeff
ec9727e8a4
- Remove the do { } while(0) from the VOP lock assert macros. This was
...
not optimized away by the compiler in time for it to still leave the VOP
functions as inlines.
Submitted by: bde
2002-10-13 04:19:44 +00:00
marcel
c6eea350fc
ia64 specific CFLAGS change:
...
Fix the "@gprel relocation against dynamic symbol xxx" linker error.
Variables defined in the link unit and small enough to be put in the
short data section will have a gp-relative access sequence (using the
@gprel relocation). It is invalid to have @gprel relocations in shared
libraries, because they are to be resolved by the static linker and
not the dynamic linker. The -fpic option will cause @ltoff relocations
for @gprel relocations, but the side-effects are untested (if any).
Instead, disable/eliminate the short data section to achieve the same.
2002-10-13 02:52:22 +00:00
kris
cf195c5ed6
Prevent stack-smashing buffer overflows in -D and -r options by using
...
buffer-safe string functions. The rest of the code is still probably
unsafe.
MFC after: 1 week
2002-10-13 01:18:33 +00:00
gshapiro
010f2e9171
MFS: Fix smrsh bypass bug.
2002-10-13 00:56:58 +00:00
mike
4d58825054
o Fix a silly requirement for <machine/signal.h> to be included in the
...
middle of this header.
o Remove unneeded conditionals to hide SIG* in the POSIX case.
(C allows implementations to define additional SIG* constants.)
o Add comments about missing features.
o Move the location of the sigset_t typedef.
o Update standards visibility conditionals.
o Fix some assumptions about what pid_t and uid_t are defined as.
o Remove size_t typedef and use __size_t in struct sigaltstack
instead.
2002-10-13 00:33:52 +00:00
mike
0768501a2f
Add standards visibility conditionals. Change any uses of sigset_t to
...
struct __sigset to avoid depending on objects from <sys/signal.h>.
2002-10-13 00:31:46 +00:00
mike
a856de411e
Assume POSIX/XSI is always visible in the __BSD_VISIBLE case. Fix a
...
mix-up with siginterrupt().
2002-10-13 00:29:06 +00:00
jake
d4349d3d83
Removed unused tl0_syscall.
2002-10-12 23:43:04 +00:00
marcel
c751d92ae7
o Fix typo in previous commit: s/sc-nsect/sc->nsect/
...
o Fix printf format error for %d format with long argument.
2002-10-12 23:00:40 +00:00
marcel
f02cbfb108
Plug two holes where we returned to userland without restoring
...
the predicate registers. Even though the ITLB and DTLB interrupts
happen often enough, this bug didn't do much harm. The reason
is that the interrupt handlers only modify p1 and since this is
a preserved (callee-saved) register it is hardly used in code
generated by the compiler. Compilers use scratch registers by
default. Changing the interrupt handlers to use p6 (ie a scratch
register) proved that the bug was in fact fatal.
2002-10-12 22:42:48 +00:00
alfred
f178c67fb0
whitespace fixes.
2002-10-12 22:26:41 +00:00
marcel
635c63996c
Have the linker collect and combine all unwind_info and unwind
...
sections so that the resulting load module has a single unwind
table. This matches the behaviour in userland.
2002-10-12 22:24:41 +00:00
kris
78372d114d
Use buffer-safe string functions for paranoia.
2002-10-12 22:03:22 +00:00
kris
ab2f5d80c1
Zero memory after malloc. This stops sysinstall from dumping core
...
during disk probing with malloc debugging enabled.
MFC after: 1 week
2002-10-12 22:01:57 +00:00