gdt
e8b17765a8
Comment out -g, avoiding building netbsd.gdb. Because of inclusion,
...
this affects XEN3_DOM[0U] as well. This change shrinks the amount of
disk space required for a full build significantly, and now only ALL
has -g enabled.
ok bouyer@
2007-01-03 19:42:37 +00:00
bouyer
0eac5c0667
Fix cut'n'paste, don't print version 1.0 when we have a version 1.1 controller.
...
Pointed out by Craig Metz.
2007-01-03 18:58:26 +00:00
elad
2a32293a9f
Make more things static. From halflife.
2007-01-03 18:32:11 +00:00
tron
ffb1f19b79
Disable ppp(4) because pppd(8) isn't on the installation image anyway.
2007-01-03 13:43:49 +00:00
tron
1001a93eaa
Having ppp(4) and sl(4) enabled in this kernel configuration is completely
...
pointless because it doesn't support any serial interfaces.
2007-01-03 13:36:03 +00:00
cbiere
8106cb099a
Fixed wrong and illogical statement:
...
fcntl() F_DUPFD does NOT set FD_CLOEXEC for the new file descriptor.
2007-01-03 11:50:47 +00:00
ws
0ff81292cd
Don't leak file descriptors.
2007-01-03 11:46:22 +00:00
joerg
724f61fbac
Bump date as previous before wizd awakes.
2007-01-03 08:45:59 +00:00
jmmv
08d2474c3c
s/tons/lots/, per simonb@'s suggestion. This looks more formal.
2007-01-03 08:39:29 +00:00
joerg
a6d84a6d41
Reflect changed name of the firmware package after the update to
...
version 3.
2007-01-03 08:04:12 +00:00
perseant
df25fd6968
Change VONWORKLST handling to better match its other uses; in particular,
...
check memq and clear VWRITEMAPDIRTY at the same time.
2007-01-03 02:42:23 +00:00
christos
d834d54792
From Anon Ymous:
...
1) Don't miss the pipe command when grabbing the command name.
2) Convert some key constants to defines.
2007-01-03 00:39:16 +00:00
christos
07a95a1d4c
1) Fix a really stupid table termination error in mime_decode.c.
...
2) When doing attachments set the "name=" parameter of the
Content-Type field, in addition to the (already) set "filename="
parameter of the Content-Disposition field. Some utilities (e.g.,
metamail) use this parameter for the filename even though (I believe)
the "filename=" parameter of the Content-Disposition field is
preferred by the standard (I can't find this explicitly except for
"application/octet-stream" types - see RFC1521 sec 7.4.1 and RFC2046
sec 4.5.1). My impression is that the "name=" parameter of the
Content-Types field is really intended for use when retrieving a file
not in the message, e.g., "message/external-body" Content-Types, and
not for the filename.
(Thanks to wiz@ for noticing this in his spam logs.)
3) Be more careful when determining the Content-Type of 1-byte
attachments. libmagic(3) isn't helpful on such small files.
2007-01-03 00:24:36 +00:00
elad
faf71534b5
Add 'stop' routines to do the exact opposite of the 'start' routines for
...
'securelevel' and 'suser' parts of secmodel_bsd44.
2007-01-02 23:58:20 +00:00
elad
81fe5ba5fc
Don't compile secmodel_start() if built as an LKM.
2007-01-02 23:47:09 +00:00
elad
5ef5c7c8ab
Add prototypes for the sysctl(9) setup routines for LKMs only.
2007-01-02 23:35:37 +00:00
elad
9f1a7cc74f
Don't leak listeners.
2007-01-02 23:30:29 +00:00
dsl
8a7693fba6
Don't delete whitespace before a "\\\n" sequence. Somewhere I'd misread
...
the required behaviour and replaced it with something more sensible - except
for makefiles that contain "\n\t\\\n shell command"...
2007-01-02 23:22:37 +00:00
dsl
7510ceee96
Comment out 'bnx', a network card that requires a 120kb download isn't
...
going to be the only way to get data onto a system.
This should get the INSTALL image way back under 2.8M again.
Someone does need to sort out an ACPI install kernel though....
2007-01-02 18:05:19 +00:00
ad
8ca9bfb9b5
- Don't print any specifics unless booted with -d.
...
- Disable for now, at least one model of CPU throws a GPF.
2007-01-02 16:57:54 +00:00
rillig
7eb2c18b51
Fixed gcc warnings about comparison between signed and unsigned, as well
...
as one case where a variable had been used for two different purposes
(which also required different types).
2007-01-02 16:00:46 +00:00
pooka
f70a3c8c19
* inform kernel of our version
...
* homegrown lib ABI check (to avoid bumping major a ludicrillion times
before reaching stability)
2007-01-02 15:53:05 +00:00
pooka
b613212772
* check userspace version and prevent incompatible mount
...
* some general maintenance
2007-01-02 15:51:21 +00:00
martin
cc10b3e0c8
MD_DO_NOT_NEED_FALLTHRU - from Nick Hudson.
2007-01-02 14:32:34 +00:00
elad
89b1051729
Consistent naming in sysctl(9) setup routines.
2007-01-02 13:01:46 +00:00
elad
004947a094
Add missing break...
2007-01-02 12:15:52 +00:00
elad
9fc29b4efc
Make the securelevel contained by not exposing the variable that keeps
...
it outside secmodel_bsd44_securelevel.c.
2007-01-02 11:46:44 +00:00
elad
d4e1860d1a
Add KAUTH_SYSTEM_CHSYSFLAGS so we can get rid of the last three
...
securelevel references (ufs, ext2fs, tmpfs).
Intentionally undocumented.
2007-01-02 11:18:56 +00:00
elad
40894ca786
Need vnode.h here.
2007-01-02 11:06:29 +00:00
pooka
3161077c75
test unlink of "." is not succesful
...
jmmv ok
2007-01-02 11:04:10 +00:00
pooka
4f931d80b2
* fix locking gotchas when trying to unlink "."
...
* return standard EPERM when trying to unlink a directory
* reorder some checks in rmdir avoid problems if trying to rmdir ".."
jmmv ok
2007-01-02 11:02:19 +00:00
elad
a13160f423
Make mount(2) and unmount(2) use kauth(9) for security policy.
...
Okay yamt@.
2007-01-02 10:47:28 +00:00
dbj
6047a69a6e
add ./usr/include/x86/cputypes.h
2007-01-02 03:40:03 +00:00
christos
8d5de8f839
From Anon Ymous:
...
1) Remove a stray "SRCS+=" line from the Makefile.
2) Document the "nospec" option of "regex-search".
3) Fix some typos and formatting in the manpage.
2007-01-02 03:09:13 +00:00
isaki
2410b4468e
Correct indent.
2007-01-02 02:23:51 +00:00
pooka
4040720335
In rename, tdvp == tvp holds if we are renaming a directory to "."
...
(XXX: for all the sense that makes). Deal with it gracefully here
for now.
2007-01-02 00:14:15 +00:00
elad
c6e8423fec
Make kauth_deregister_scope() and kauth_unlisten_scope() free the
...
passed kauth_scope_t and kauth_listener_t objects, respectively.
Okay yamt@.
2007-01-01 23:33:03 +00:00
pooka
ab88ea8145
remove r/o mount check done also in vfs lookup()
2007-01-01 23:07:36 +00:00
yamt
760e1ad563
xbd_handler: call dk_iodone after updating rsp_cons.
...
otherwise, xbdstart kicked via dk_iodone still sees RING_FULL condition
and just returns. it makes xbd stall when all requests are acked by
a single xbd_handler. PR/34005.
2007-01-01 22:54:14 +00:00
dsl
3a3619293d
Add a magic number for fatboot.S
2007-01-01 22:13:18 +00:00
dsl
fb47ef3c1d
Add a sub-512 byte piece of code that can be written (by a modified installboot)
...
into the first sector of a FAT16 filesystem and will load 'boot' (and hence)
the netbsd kernel from it.
Unlike bootxx_msdosfs this doesn't need the filesystem to have 8k of 'reserved'
sectors, and may well work on non-512 byte media (as yet untested).
2007-01-01 22:11:09 +00:00
pooka
b73e147d2c
in rename_files(), match pre-1.280 locking behaviour by unlocking
...
fromnd's dvp only in case the dvp != vp
2007-01-01 22:00:16 +00:00
dsl
8b25f96e43
Remove the (now redundant) MAKE_BSIZE, BUF_DEF_SIZE from buf.c is used instead.
2007-01-01 21:48:43 +00:00
dsl
4d3c468f96
Rework the code that separates the makefile into lines.
...
Instead of copying the file byte by byte into an expanding line buffer, just
scan the file buffer for (unescaped) newlines.
Escaped newlines (etc) are processed by modifying the file buffer later.
Speeds up 'nbmake obj' by a factor of 2.
I suspect it will do wonders for parts of pkgsrc as well, since it largely
eliminates cpu cycles from the false part of .ifs.
2007-01-01 21:47:32 +00:00
dsl
d6cad2789c
Request the 'verbose' node print when aborting and scheduling nodes.
2007-01-01 21:42:42 +00:00
dsl
75dd4686a9
Add the other half of the fix to stop stuff that depends on .WAIT nodes
...
being always rebuilt.
2007-01-01 21:39:58 +00:00
dsl
388fdf7f68
Don't force things that have dependencies against .WAIT nodes to be rebuilt.
...
This is what causes all of ksh to be built every time through.
2007-01-01 21:35:40 +00:00
pooka
d584a8d23a
SUSv3 says: should the implementation not support directory unlinking,
...
unlink shall fail with EPERM and the errno of the failure shall be EPERM
2007-01-01 21:32:12 +00:00
dsl
3780cb6cd8
Remove 'else' after 'return', and similar whitspace changes.
...
Extra debug on where files are actually found.
2007-01-01 21:31:51 +00:00
dsl
b7483eac69
Since the 'buf' code here is only used by make, we don't need two names
...
for the default buffer size of 256.
Also allow for the trailing 0 byte!
2007-01-01 21:29:01 +00:00