rpaulo
7420eb145a
Change pickup to fifo. Spotted by Havard Eidnes.
2006-11-22 17:46:46 +00:00
christos
4ca73ce810
Don't expose _ss functions for 4.0. Requested by core.
2006-11-22 17:23:24 +00:00
reed
57c4a8a6b0
Check that -w width is not above maximum. (It already checks for zero or
...
negative.) Using width above DWIDTH may cause overflow as noted by Gruzicki
Wlodek on bugtraq.
While here replace one use of 132 with DWIDTH.
2006-11-22 16:15:42 +00:00
elad
72438de6ef
Remove redundant securelevel check; this is already done in procfs_rw()
...
and we can't get here (procfs_control()) without being there first.
Pointed out by yamt@.
2006-11-22 15:48:11 +00:00
riz
2f0a27492f
Make sys/exec_elf.h and machine/elf_machdep.h available to host
...
tools, and allow paxctl to use them when compiled as a host
tool. This fixes the build on MacOS X (and perhaps other platforms)
2006-11-22 15:08:47 +00:00
tsutsui
90ee4817fb
Umm, fix typo.
2006-11-22 14:32:28 +00:00
elad
054d9c15fe
Remove KAUTH_PROCESS_DEBUGINIT, should have never gotten into the tree in
...
the first place.
2006-11-22 13:59:27 +00:00
christos
91ad430f6c
adjust_limits takes p, not l again
2006-11-22 13:56:09 +00:00
yamt
c25123ccc5
- make several functions static.
...
- #if 0 out unused db_find_trace_symbols.
- add some comments.
(no functional change is intended.)
2006-11-22 13:29:03 +00:00
elad
eb704f9789
SSP is not enabled by default, update documentation.
...
Pointed out by yamt@, thanks!
2006-11-22 13:00:02 +00:00
yamt
bcf1b9e864
- unwrap short lines.
...
- whitespace.
2006-11-22 12:31:51 +00:00
elad
4b316db1d1
Introduce KAUTH_REQ_MACHDEP_{ALPHA,X86}_UNMANAGEDMEM to handle access
...
to unmanaged memory.
These are the last two securelevel references in the MD code.
2006-11-22 12:12:51 +00:00
elad
ee1dd181bc
Damn, missed in previous commit. Add PaX Segvguard flags.
2006-11-22 12:00:14 +00:00
mrg
5c4d804998
fix a compile problem with the mjpegtools package. PR#35082. this reverts
...
a recent GCC change that fixed their bug 28506. from Richard Guenther (suse).
2006-11-22 05:18:57 +00:00
lukem
b5cee0bd31
Hindenburg exploded on May 6 not March 6
2006-11-22 04:54:46 +00:00
elad
a84fee7faf
Initial implementation of PaX Segvguard (this is still work-in-progress,
...
it's just to get it out of my local tree).
2006-11-22 02:02:51 +00:00
uebayasi
25e0bf9073
Use C99 initializers where needed.
2006-11-22 01:54:09 +00:00
elad
156f4ce7bb
Make PaX MPROTECT use specificdata(9), freeing up two P_* flags.
...
While here, make more generic for upcoming PaX features.
2006-11-22 00:41:38 +00:00
elad
cbe2288b0c
printf() -> log() for Veriexec messages.
2006-11-21 23:52:41 +00:00
pooka
118c65eb6d
* update comments
...
* puffs_nextdent() takes a directory type, not vtype, so translate
that before calling it. fixes find & other fts-stuff.
2006-11-21 23:19:45 +00:00
pooka
194d17d824
mode_t to enum vtype conversion
2006-11-21 23:11:09 +00:00
pooka
5676e026f8
* change usage to ssshfs user@host:path mountpath
...
* assorted little fixes
ssshfs now works for practical uses
2006-11-21 23:09:23 +00:00
christos
d6bc4d2b49
deal with RLIM_INFINITY in the setrlimit case.
2006-11-21 18:50:01 +00:00
dsl
09cad86587
Make the install actually die when the boot code is too big (which it is).
...
No idea how long it has been bust for.
Other parts of this makefile are deeply sub-optimal.
2006-11-21 18:31:44 +00:00
dsl
0d9ff52003
Mark all the .PHONY targets as .NOTMAIN in one go - instead of individually.
...
Add .WAITs after beforeinstall and before afterinstall.
Remove the bogus dependency lines that someone must have added with the
vague hope they would cause the build to happen in the right order!
Since we have 'realinstall: proginstall scriptsinstall' stopping
'realinstall' running never has stopped 'proginstall' running.
Fixing this probably fixes a variety of problems, including, but not
restricted to 'install' in src/sys/arch/atari/stand/bootxx
(NB this particular file is untested due to other local changes)
2006-11-21 18:25:26 +00:00
pooka
2773d88a59
do better directory link accounting, fix bug in readdir(). find, rm -rf,
...
etcetc. now work
2006-11-21 15:35:58 +00:00
christos
887f588c92
adjust limits takes struct proc again.
2006-11-21 15:02:18 +00:00
christos
0470afd097
Simplify previous commit not to use dosetrlimit(), since we don't want the
...
kauth tests etc.
2006-11-21 14:57:54 +00:00
christos
1882355e27
From Nicolas Joly:
...
> It seems that 32bits programs, running under compat_netbsd32, using
> setrlimit force all other programs to have their maximum data size
> fixed at 3GB, where native 64bits apps used 8GB previously.
I tracked this one to the `netbsd32_adjust_limits()' function (called
when creating a new process under compat_netbsd32), where data and
stack limits are set without checking for shared `p_limit' structure
(p_limit->p_refcnt > 1). This explain the side effect where processes
have their limits changed when a compat_netbsd32 (or compat_linux32)
program is run.
The fix is to use `dosetrlimit()' to ensure the needed copy-on-write
behaviour for shared structure.
2006-11-21 14:32:27 +00:00
pooka
a9772ae2fb
better accounting. e.g. du works now
2006-11-21 13:05:47 +00:00
pooka
e7a63c481b
don't recache directory listing in all operations that use a directory
2006-11-21 12:42:15 +00:00
yamt
9777cce8d1
include the i386 frameasm.h rather than inlining it.
2006-11-21 07:35:01 +00:00
simonb
7a046fb2d1
Poo, fix typo'd typo.
...
Thanks Pooka.
2006-11-21 02:37:20 +00:00
pooka
8f2fd4cb28
reclaim needs some more work, so don't do anything there for now.
...
This is good especially for not crashing in unmount, which in turn
would cause unpleasantries without the very latest & greatest kernel
2006-11-21 02:31:48 +00:00
simonb
23d9ba237a
Fix some #define<tab> while here...
2006-11-21 02:19:54 +00:00
simonb
627877b6a9
Fix a tyop in a comment.
2006-11-21 02:17:51 +00:00
pooka
99eb16cb3c
if we are going to bail due to the mountpoint being gone from under
...
us while waiting for syncer lock, release the newly acquired syncer
lock prior to bailing
2006-11-21 01:53:33 +00:00
pooka
65cab72c29
cosmetics
2006-11-21 01:51:42 +00:00
pooka
1d9515c070
today's fs-in-a-day: quick glue to tie puffs together with openssh
...
sftp code to accomplish something close to sshfs. this basically
works, but there are some issues with directory grovelers still,
e.g. so untar won't work. but it works for browsing mailboxes,
transferring large files, etcetc.
2006-11-21 00:54:06 +00:00
elad
0ba2154297
Update my email address.
2006-11-21 00:22:04 +00:00
bouyer
37152360bf
Move part of wdc_sataprobe() to sys/dev/ata/sata_subr.c so that it can be
...
shared with non-wdc SATA controllers.
2006-11-20 23:42:21 +00:00
dsl
efbf65678a
Don't add all the help text when SMALLPROG is set.
2006-11-20 22:06:26 +00:00
elad
9a87be9622
compare pointer against null, not zero
2006-11-20 21:50:51 +00:00
hauke
ee98815c38
Better make sure CLK_INTERVAL remains an integer for creative non-default
...
values of HZ.
2006-11-20 20:48:36 +00:00
christos
ab56b9a702
getdate -> parsedate
2006-11-20 20:33:33 +00:00
christos
61261c8531
rename getdate to parsedate to avoid conflict with posix function
2006-11-20 20:33:02 +00:00
hauke
3d79fd04f9
Note mac68k timecounter support (okayed by Martin Husemann)
2006-11-20 20:03:16 +00:00
hauke
9659017417
Add Timecounter support for mac68k, using the otherwise idle second
...
timer of VIA1. Passes regression/sys/kern/time regression test.
While we are here, GC leftover prototypes from MI todr integration,
and clean up clockreg.h in the light of "Guide to the Macintosh
Hardware" information.
(Reviewed and okayed by Martin Husemann)
2006-11-20 19:58:38 +00:00
jwise
8399bed491
Without commenting on what musicians do or do not belong in this file (the
...
current selection shows it's early eighties NoCal roots), if we're going to
include the births and deaths of other members of the Grateful Dead, we
should presumably include Jerry Garcia as well.
Make it so.
2006-11-20 17:27:56 +00:00
jwise
6fea1ccb2e
Fix spelling of `Bangladesh'
2006-11-20 17:23:40 +00:00