Commit Graph

109548 Commits

Author SHA1 Message Date
dsl 4c320740d2 Use do_setres{u,g}id for osf1_sys_set{u,g}id 2003-03-05 18:47:39 +00:00
dsl dfdb668a2e Reimplement linux_sys_setresgid() in terms of do_setresgid() 2003-03-05 18:46:11 +00:00
dsl eabc565aaf Use do_setresuid() to implement linux_sys_setresuid() 2003-03-05 18:44:46 +00:00
dsl a5de203f9f Add do_setresuid() and do_setresgid() and implement sys_setuid, sys_seteuid,
sys_setreuid (and gid equivs) in terms of them.
2003-03-05 18:42:19 +00:00
dsl ef96ef8655 Add definitions for do_setres{u,g}id() to common up various system calls that
set the uid and gid values.
2003-03-05 18:39:17 +00:00
mycroft adddd74e0e DANGER WILL ROBINSON!
We cannot store LWP pointers permanently in lock structures, for two reasons:
1) They are somewhat ephemeral.  Dangling pointers are bad.
2) A different LWP may issue the unlock, and in this case, we were not actually
   doing the unlock at all.  This was causing processes to exit without undoing
   fcntl(2) locks.  Furthermore, the locks are process-specific to begin with,
   so the test was just plain wrong.

Instead, we go back to storing a proc pointer for POSIX locks.  In addition, we
add an extra pointer to the LWP, which is used in deadlock detection.  After
the lock is granted, this pointer is 0ed and there is no reference to the LWP.

Now evolution can inc my mail again.
2003-03-05 18:28:22 +00:00
shiba 012395b8fb Used correct aue_flags in ELECOM LD-USB/T and ELECOM LD-USB/TX.
Submitted by: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
              Takeshi Shibagaki <shiba@netbsd.org>
                 (refer to [bsd-usb:685],[bsd-usb:686])
Approved by: gehenna, kanaoka
2003-03-05 17:37:36 +00:00
thorpej a69c74895f Fix a merge error. 2003-03-05 16:55:48 +00:00
soren ea477f4ba7 Forgot dummy printf. 2003-03-05 16:52:16 +00:00
tron 0f3d1214d1 Remove "/etc/X11" and "/etc/fonts" which are X11 specific. 2003-03-05 16:50:20 +00:00
tron 071441c2a1 Remove "/etc/X11" and "/etc/fonts". The other X11 directories are not
listed here, too.
2003-03-05 16:47:03 +00:00
soren 1f3cd4f95f Be more verbose about unsupported keys. 2003-03-05 16:18:24 +00:00
mrg 0164a94391 fixes for XF4.3. 2003-03-05 15:29:04 +00:00
kochi 4b93d57ab3 Intel ACPI CA updated to 20030228. 2003-03-05 15:15:19 +00:00
kochi 7629f23bb8 Fix a bug that affects machines which has non-zero base GPE blocks.
This bug is already reported to Intel ACPICA people.
2003-03-05 15:13:01 +00:00
ragge be084ba94f vax -> __vax__. Didn't I fix this a year ago? 2003-03-05 13:19:59 +00:00
itohy b75bbfd9a4 Regen (add ESS1878 (ess) and ESS0005 (joy)) 2003-03-05 13:10:03 +00:00
itohy 24c03411b6 Add ESS1878 (ess) and ESS0005 (joy) for ESS ES1878 audio device. 2003-03-05 13:08:27 +00:00
dsl 35df36296b Report correct values for p_uutime_{u}sec, p_ustime_{u}sec and p_uctime_{u}sec 2003-03-05 11:46:49 +00:00
dsl 15cb5a5b82 Apportion execution time evenly between stime and utime when the process
hasn't been interrupted by any profiling interrupts.
Collect time from all active LWPs.
2003-03-05 11:44:01 +00:00
dsl dc55700b28 Get processes execution time before the LWPs state is changed 2003-03-05 11:40:55 +00:00
agc 2a540cd45f Forward declare struct lwp as well as struct trapframe. 2003-03-05 11:28:14 +00:00
jmmv fc6e93306c Make the global XConsole variable static. 2003-03-05 10:51:43 +00:00
grant e41c87001a fix some comments 2003-03-05 10:27:59 +00:00
wiz e2b15c4c77 Add readelf(1) man page, requested by mrg. 2003-03-05 09:37:21 +00:00
martin 549d82b84d Add support for watching coming/going pccard interfaces.
Patch from KOIE Hidetaka in PR bin/20584.
2003-03-05 09:03:49 +00:00
skrll 3d4925b3cd Update binutils version and correct gnusrc/ 2003-03-05 08:42:49 +00:00
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
lukem 5ff82b6aaa correct location of usr/share/examples/wsmoused/wsmoused.conf 2003-03-05 07:10:50 +00:00
lukem 55b7585456 add etc/X11 and etc/fonts 2003-03-05 07:09:37 +00:00
mrg 94594f5e48 extract the bintils VERSION.
call the new make targets "native-gcc", etc.
2003-03-05 06:17:17 +00:00
jklos ba44f83888 Fix from Frederick Bruckman to get current kernels booting again. 2003-03-05 05:56:26 +00:00
matt 92d0498c3d Remove port-specific procfs_machdep.c (since they are all identical and
a better one resides in powerpc/powerpc/).
2003-03-05 05:43:42 +00:00
mrg 266fa92cbc mknative:
- get man_MANS and TEXINFO from binutils/doc/Makefile now, not
	binutils/Makefile, as all the binutils docs moved.
both:
	- add new "mknative-gcc", "mknative-binutils", and "mknative-gdb"
	targets / mknative options to allow regeneration of just one part
	of the toolchain.
2003-03-05 05:28:29 +00:00
matt 6d251b3be3 Make AltiVec registers available via ptrace/procfs. Simplify AltiVec
processing.  Add a "common" procfs_machdep.c for PowerPC platforms.
Even though it is supposed to be port specific, most (if not all)
PowerPC ports can just use the common one.
2003-03-05 05:27:24 +00:00
lukem ee7f3a601a Rework -p support again;
- If mkdir() fails on a component (no matter what the error is),
  stat() the result.  If the stat() fails, print the error mkdir() generated.
  Otherwise, if the result is not a directory, explicitly fail with ENOTDIR.
- Move the chmod() of last element to be done only if the mkdir() succeeded
  (i.e, it wasn't an existing directory)

Fixes problem introduced in previous commit where "mkdir -p existing"
on a read-only file system would incorrectly return a non zero exit code,
whilst retaining the race-condition fix of the previous commit.

Thanks to simonb@ for sanity checking my fix versus the standards.
2003-03-05 03:58:44 +00:00
groo d5953564e9 Remove the HAS_* ifdefs which select [v]s{,n}printf. Always choose the
n version.
2003-03-05 02:20:19 +00:00
thorpej 72dd57106c Implement a minimal pager for the uvm_loanzero_object, which simply has
a "put" method which reactivates or dequeues the page.

Need for pager pointed out by enami tsugutomo.
2003-03-05 01:52:41 +00:00
christos 4b0ce4e260 fix for potential buffer overflow in snprintf() (from OpenBSD) 2003-03-05 01:15:48 +00:00
jrf c93c016461 Patch from PR 12304 submitted by Matthias Buelow mkb@moghedien.mayn.de.
Patch reviewed by Itojun itojun@netbsd.org.
2003-03-05 01:10:46 +00:00
dogcow 0ef88e5d5c note changes to mdsetimage (which broke after the binutils update) 2003-03-05 00:06:34 +00:00
fvdl 91ef1f21bf Make the apic address unsigned, as it should be. 2003-03-04 23:27:32 +00:00
fvdl c89161c65f ioapic address is not actually a pointer, initialize it as uint32_t 2003-03-04 23:21:25 +00:00
fvdl e575c4bc69 Fix some fields that did not have explicit types yet. 2003-03-04 23:20:29 +00:00
fvdl 48aa516ffe Use read_psl and write_psl. 2003-03-04 22:43:36 +00:00
fvdl e1a37a9604 Define read_psl and write_psl as aliases for read_eflags and write_eflags. 2003-03-04 22:43:09 +00:00
jmmv db97c4116c Use the pidfile created by wsmoused. 2003-03-04 22:32:11 +00:00
jmmv b74771a131 Create a pidfile while running (which can be tuned with the new "pidfile"
configuration variable). Ok'ed by christos.
2003-03-04 22:31:15 +00:00
fvdl b2a3a55d38 Enable the define for EISA MPBIOS support. 2003-03-04 22:19:32 +00:00
fvdl d9bd125d50 Make EISA support conditional (on by default on i386). 2003-03-04 22:19:04 +00:00