elad
2ddc81b57b
Add missing ')'. Noted by Paul Goyette.
2007-02-07 05:54:42 +00:00
riz
3ba975dea2
Fix off-by-one error in the creation of dk(4) device nodes.
2007-02-07 03:01:13 +00:00
wiz
0a06354421
Correct default firmware path. Add xref to firmload(9).
...
Bump date.
2007-02-06 23:42:34 +00:00
wiz
303b003785
Add xref to firmload(9). Prompted by dillo.
2007-02-06 23:40:32 +00:00
skrll
a815b70d5c
G/C hp{pa,700}/spinlock.h
2007-02-06 21:59:24 +00:00
dyoung
df51b53ccc
Create /dev/cmos.
2007-02-06 21:27:43 +00:00
elad
eb3ad821f0
PR/35506: Chuck Silvers: ps doesn't work on crash dumps, libkvm doesn't
...
know about kauth
Implemented _kvm_convertcred() to handle copying kauth_cred_t to userspace
and converting it to the appropriate 'struct eproc' members ('pcred' and
'ucred' respectively).
Okay mlelstv@.
2007-02-06 21:21:51 +00:00
bouyer
0ce1424e8f
in ufs_dirremove swap ep->d_reclen before use if needed (affect UFS_DIRHASH
...
only).
While there remove an unneeded swap before compare against 0 in ufs_direnter().
Both pointed out by Pawel Jakub Dawidek on tech-kern@, thanks !
2007-02-06 20:49:20 +00:00
dyoung
430441ebbd
Add a device major for cmos(4).
2007-02-06 20:38:36 +00:00
cbiere
033e1229b9
Revert previous commit.
2007-02-06 20:24:19 +00:00
drochner
310805bbe6
regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH
2007-02-06 17:32:29 +00:00
drochner
a981c4eb78
add the isgreater() at al. comparision macros defined in C99 and SUSv3;
...
use just the primitive macros for now (identical to FreeBSD/DragonFly)
which don't use gcc internals, the rest can go in after some testing;
addresses PR standards/25520
2007-02-06 17:29:37 +00:00
reed
e8146d3cc6
Don't say the script is run "by default" because it is not.
...
Also mention that it is disabled.
2007-02-06 17:17:47 +00:00
elad
97d944e80d
Use 0555 for the real tmp dir for now.
2007-02-06 16:54:27 +00:00
perry
9cf20bf4dc
make -rm an alias for -delete
2007-02-06 15:33:22 +00:00
perry
bf9831bfd2
Document -rm as an alias for -delete, and document that both -delete
...
and -rm are extensions.
2007-02-06 15:33:21 +00:00
ad
d333bb5f2f
Build without sys/sa.h present.
2007-02-06 15:24:37 +00:00
oster
0271ab9db4
nsdispatch()-ify getnetgrent() and friends.
...
Approved by: christos
2007-02-06 15:17:54 +00:00
ad
c1d4b532de
Allow the number of loops to specified on the command line, still
...
defaults to 1.
2007-02-06 15:08:17 +00:00
elad
f53a75d646
regen
2007-02-06 15:01:30 +00:00
jmcneill
9162d3ee05
Fix build failure for !XBOX, pointed out by Paul Goyette on current-users
2007-02-06 14:39:47 +00:00
elad
b5f35499b1
PR/35552: Yojiro UO: add new devices for rum(4)
...
Patch applied, thanks!
(needs regen)
2007-02-06 14:30:09 +00:00
cbiere
a91470cccd
Fixed format string in opendisk_werror() which was wrong since my previous
...
commit.
2007-02-06 14:04:01 +00:00
elad
a706fb0965
Add -delete from FreeBSD.
2007-02-06 13:25:01 +00:00
jmcneill
d93606a8fe
Missing LIST_INIT. Pointed out by uebayasi@
2007-02-06 12:39:15 +00:00
dyoung
56db732551
Add cmos(4) for reading/writing CMOS RAM on x86 boxes. This driver
...
comes from Takahiro Kambe, with some mods by me.
2007-02-06 07:28:59 +00:00
dyoung
9e85b986d1
Stop using _IPL_NSOFT because nothing defines it, and it is
...
unnecessary to specify the length of the arrays mips_ipl_si_to_sr,
anyway.
2007-02-06 05:39:16 +00:00
simonb
1fc6e76755
Fix a tyop in a comment.
2007-02-06 04:48:15 +00:00
jmcneill
d6775f8b6c
On Xbox, disallow pci_conf_read/pci_conf_write calls for bus 0 device 0
...
functions 1 and 2.
2007-02-06 03:13:37 +00:00
cbiere
a63e176c73
* 1 -> EXIT_FAILURE.
...
* Replaced atoi() with parse_int().
* Use an enum for ACTION_* instead of #define.
* Use strdup() or asnprintf() instead of strlcpy() to avoid truncation.
* pread() returns ssize_t not int.
* Suppress "unused parameter" warnings.
* verify_disklabel(): Pass the correct size to disklabel_scan().
* verify_ffs():
* Don't indicate success if pread() fails.
* Check the amount of bytes read.
* Don't cast buf to (struct fs *), it's not aligned.
* eliminate_cores(): No need for a temporary variable.
2007-02-06 02:09:19 +00:00
jmcneill
7240bbf254
Another Xbox hack;
...
If we're handling system management interrupts ourselves, the system locks
solid when the ACPI timer SCI fires. Disable this interrupt so we can have
an uptime of more than ~10 minutes.
2007-02-06 02:07:36 +00:00
cbiere
6d1dbd06cb
Use warn() and warnx().
2007-02-06 01:55:40 +00:00
pooka
ebfeab6747
Limit errors from puffs_lookup to 0, EJUSTRETURN and ENOENT, as
...
that's what namei/lookup expects.
2007-02-06 01:53:11 +00:00
pooka
6c42c843ee
make it possible for the root path to be "/" and the next path to
...
be "/foo" instead of "//foo"
2007-02-06 01:46:41 +00:00
reed
aa7b0cce96
Add an example on how the data is generated.
...
Point to pkg_info(1).
Add a brief history.
2007-02-06 01:22:40 +00:00
elad
119d4b5acd
PR/35253: YAMAMOTO Takashi: fileassoc hash size problem
...
fileassoc_table_add() was removed from the KPI and made internal. From now
fileassoc(9) will manage the optimal table size internally.
Input from and okay yamt@.
2007-02-06 01:09:48 +00:00
cbiere
6065c2bb2b
crypt_defaults_lookup():
...
* Avoid comparison of int with unsigned.
* Simplified.
2007-02-06 00:51:09 +00:00
cbiere
b90361afef
memxor(): Fixed size_t/int mismatch.
2007-02-06 00:48:37 +00:00
he
3da5bad40a
Add a cheesy workaround marked XXX for the situation where the
...
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
2007-02-06 00:08:31 +00:00
jmcneill
042d1598ba
Remove debug printf accidentally added in last commit.
2007-02-05 23:56:13 +00:00
jmcneill
ff20668913
Disgusting Xbox hack;
...
The "pci0 dev 1 function 2" aka "System Management" on the nForce chipset
isn't detected on the Xbox. If XBOX is defined and arch_i386_is_xbox is
true, force intrline to 12 and map the system management IO space at
0x8000. We can now call iic_smbus_intr when a system management interrupt
takes place.
While we're here, make amdpm_smbus honour the I2C_F_POLL flag.
The Xbox no longer resets when you press the eject button.
2007-02-05 23:38:15 +00:00
jmcneill
02ad924a21
Register an SMBus interrupt handler to trap the reset on eject "feature"
...
on the Microsoft Xbox. Also print details on other system management type
events while we're here -- they may come in handy in the future.
2007-02-05 23:33:53 +00:00
jmcneill
be9836eac7
Allow i2c child devices to register interrupt handlers to the smbus host
...
controller. Both interrupt context and process context type handlers are
supported.
2007-02-05 23:31:37 +00:00
ad
8d344bc387
Oops, for uniprocessor systems these need to yield more often because
...
the threads don't get forced off the CPU.
2007-02-05 22:48:01 +00:00
cbiere
21f5afe6b9
* 0/1 -> EXIT_{SUCCESS,FAILURE}
...
* make_utmpx(): Added comment and slightly simpler construct.
* alrm_handler(): Suppress "unused parameter" warning.
* mapfile():
* Handle st.st_size correctly.
* Avoid unnecessary return statements.
* Removed unnecessary MAP_FILE flag.
* Use S_ISLNK() and check S_ISREG() too.
* Add the terminating NUL rather after readlink() than
before, just in case.
* writefile():
* Avoid unnecessary return statements.
* read_ttys():
* Check S_ISREG() as well.
* Check for st.st_size > 0 rather than != 0.
2007-02-05 22:36:18 +00:00
ad
fb574ffdbf
The TLB flush filter workaround causes TLB shootdown storms on our build
...
machines. Disable it for now until that problem is solved.
2007-02-05 21:05:45 +00:00
ad
002869bdb7
Drop priority to MAXPRI before starting the tests.
2007-02-05 20:20:48 +00:00
ad
8c24327068
Pass in the correct LKM entry point. Noted by mhitch.
2007-02-05 20:18:43 +00:00
jwise
b6bad2e5f2
Since MAN_DEBUG is constant, go from if (MAN_DEBUG) to #if MAN_DEBUG
2007-02-05 19:46:24 +00:00
njoly
0d81683020
Add a new linux_emuldata_shared flag value LINUX_LES_USE_NPTL to allow
...
both NPTL and old linuxthreads behaviour depending on process needs.
Apply to exit_group(), getpid() and getppid() to share them between
compat linux32 (non NPTL) and compat linux (NPTL) on amd64.
ok by manu and christos
2007-02-05 18:31:36 +00:00