Commit Graph

108261 Commits

Author SHA1 Message Date
jdolecek b1fc5ffac3 procfs_allocvp():
* do not set *vpp unless successful, otherwise we'd trigger
    DIAGNOSTIC panic in lookup(9) on error return
  * on error, make sure to free malloc'ed memory and ungetnewvnode() the
    previously acquired vnode

this fixes panic on 'tail -f <file> &; ls -l /proc/$!/fd' reported by
Andrew Brown

fix reviewed by Christos Zoulas
2003-02-03 22:27:42 +00:00
matt a25898cf6e Don't use trapframe in sigcontext. Instead define a new structure
utrapframe that fixed in size (and the same size as the trapframe
in NetBSD 1.5).  This preserves binary compatibility for those programs
that dealt looked at sigcontexts.
2003-02-03 21:48:01 +00:00
manu a643d6a63e Fixed typo 2003-02-03 20:46:55 +00:00
christos 16c1b99bf8 Open the file with O_NOFOLLOW, and only use if it still has one link (from
OpenBSD)
2003-02-03 17:45:20 +00:00
matt 2b0e97a561 Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea). 2003-02-03 17:09:53 +00:00
jdolecek 023b82a806 add Columbia tragedy
submitted in PR bin/20163
2003-02-03 17:03:27 +00:00
martin a3c9fcbdd7 Minimal change to get it warning-free on LP64 archs. 2003-02-03 16:27:32 +00:00
pooka b0c44d4948 regen 2003-02-03 13:28:54 +00:00
pooka 6330131ed7 add GeForce2 Go 2003-02-03 13:27:57 +00:00
agc 7cb1f145f5 Add a check for the length of the login name given by the user.
Provided by Ben Collver in PR 20154
2003-02-03 12:20:46 +00:00
joda 1c2dd5ecde regen 2003-02-03 11:00:53 +00:00
joda fc8756e1aa correct previous, and add some more devices found in the Shuttle
SS51G.
2003-02-03 11:00:26 +00:00
perseant 99afa7f9a5 Break out fsck function; add rename hard link test; change small files
test to provoke the cleaner into running as well.
2003-02-03 07:45:05 +00:00
mhitch 4897781d3c Use 32 bit daddr_t due to space limitations when using 64 bit div/mod. 2003-02-03 07:17:13 +00:00
mhitch ff7f90827c Add 64 bit div/mod for 64 bit daddr_t changes and snprintf. 2003-02-03 07:16:08 +00:00
enami 59055822ed Various update of Version, Current Vers and Archive Site. From Kimio Ishii. 2003-02-03 05:32:09 +00:00
matt 3e793a03a1 More cleanup for OLDPMAP. 2003-02-03 05:15:51 +00:00
elric 1b4eceb53f When looking up gids with hesiod, use the gid map and fall back to the
group map.

Addresses PR lib/20145
2003-02-03 04:22:20 +00:00
briggs f6909b984b Revert my last change. While it actually allows a build to finish,
an iso-image created from the resulting release won't boot.  I don't
know if this change is the source of that, but one more knowledgable
than I about the x86 booter needs to look at this, and I don't want
the waters muddied any more than necessary.
2003-02-03 03:03:16 +00:00
kleink 7db9fed5ea Fix printf format warnings. 2003-02-03 01:11:54 +00:00
perseant 14c17e57b4 Don't call a dirop within a dirop: if lfs_rename is actually deleting
a link, call lfs_remove directly before starting dirop rather than
having ufs_rename do it.
2003-02-03 00:32:35 +00:00
atatat 9301bc18e8 Specify VMCMD_FIXED in NEW_VMCMD() for flags instead of 0. Fixes
a.out emulations on sparc.
2003-02-03 00:21:42 +00:00
briggs c6b14f1ca4 Add CPPFLAGS+= -D__daddr_t=int32_t. 2003-02-03 00:08:30 +00:00
jmmv bb8f35d1fa Remove references to the pccons(4) manpage (which does not exist), using
the pccons word by itself.
Rename *_KEYBOARD options to be *_KBD, as the former are not recognized in
the kernel.
Add missing wscons(4) reference in SEE ALSO, as suggested by kleink.
2003-02-02 22:53:57 +00:00
matt 193a5761aa Remove OLDPMAP support. 2003-02-02 21:22:11 +00:00
dsl 0871280204 Parse end of line comments correctly
(approved by christos)
2003-02-02 21:10:45 +00:00
dsl a3b6bf84d6 Increase MAXFLENTRIES - the limit is being hit on some systems.
(approved by christos)
2003-02-02 21:08:55 +00:00
dsl bf6f586096 Change comments to refer to increased default number of fragments
(approved by christos)
2003-02-02 21:05:15 +00:00
bouyer 5700f75418 Fix DEBUG printf warning. 2003-02-02 20:55:16 +00:00
abs e6dc31f0dc Crank PKGTOOLS_VERSION to 20030202 for last_file fix 2003-02-02 20:54:17 +00:00
matt f38c95025b This file is no longer needed. 2003-02-02 20:47:38 +00:00
matt 7c1e50a21a Perform a rototill of the powerpc code. Mandate use of SPRG0 to store
a pointer to current cpu's cpu_info structure.  Use cpu_info for
intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on
non-MULTIPROCESSOR machines.  Add common macros GET_CPUINFO and
INIT_CPUINFO to get and initialize the cpu_info struct on startup.  Make
ibm4xx use the standard <powerpc/frame.h>.  Use IFRAME_xx in ibm4xx
trap_subr.S instead of explicit magic offsets.  Move INTSTK and SPILLSTK
to std.<platform>.  Change faultbuf to a struct instead of an array.

On MPC6XX cpus, stop using the vector page for temporary space and use
reserved space in cpu_info.
2003-02-02 20:43:17 +00:00
kleink c674bbc90e Change _POSIX_SEMAPHORES to 0: support ultimately depends on a kernel
configuration option.
2003-02-02 20:34:49 +00:00
matt 4b9dbb1a16 Move l_flags to after l_cpu to save 4 bytes on LP64 machines. 2003-02-02 20:34:42 +00:00
kleink 71d7654509 Add sysconf(3) knobs for recent additions. 2003-02-02 20:33:05 +00:00
manu 2cd19ab0b2 - WindowServer wants io_master_port? Give it a port!
- introduce mach_port_destroy (badly emulated for now)
- on fork/exec, don't set l_private, as the process might be not mature
enough to survive a proc_representative_lwp call (-> kernel panic)

Once we give WindowServer the io_master_port, it sends a message to it:

   305 WindowServer MMSG  id 2804 [0x1310009 -> 0x131000e] -12016 bytes, flags 0
x1513
   0x0000  0x00001513 0xffffd110 0x0131000e 0x01310009   .........1...1..
   0x0010  0xffffcfd0 0x00000af4 0x00000000 0x00000000   ................
   0x0020  0xffffcf60 0x00000052 0x3c646963 0x74204944   ...`...R<dict ID
   0x0030  0x3d223022 0x3e3c6b65 0x793e494f 0x50726f76   ="0"><key>IOProv
   0x0040  0x69646572 0x436c6173 0x733c2f6b 0x65793e3c   iderClass</key><
   0x0050  0x73747269 0x6e672049 0x443d2231 0x223e494f   string ID="1">IO
   0x0060  0x48494453 0x79737465 0x6d3c2f73 0x7472696e   HIDSystem</strin
   0x0070  0x673e3c2f 0x64696374 0x3e0047cc              g></dict>.G.

Did you ever dreamt about system call arguments in XML?
2003-02-02 19:06:31 +00:00
bouyer 5442e1ce7f Regen: add SiS 651 host bridge. 2003-02-02 18:53:16 +00:00
bouyer 05d0caa632 Add SiS 651 host bridge. 2003-02-02 18:52:40 +00:00
thomas 7940f0331a Add support for wsdisplay and wskbd for HADES.
Add config option for et4000 with 2MB memory.
2003-02-02 18:26:22 +00:00
thomas 75ef66752b Config option for et4000 boards with 2MB memory. 2003-02-02 18:12:25 +00:00
thomas 8b5dc32381 WS keyboard device. 2003-02-02 18:05:08 +00:00
thomas 944993e750 WS keyboard support for atari native keyboards. 2003-02-02 17:56:54 +00:00
jdc ea7837ba99 Redo the conflict calculation (again).
Assume that "me" clears all attributes apart from acs.
Problem noticed when working on window(1).
2003-02-02 17:54:38 +00:00
thomas a2441aa437 Define device for wskbd. 2003-02-02 17:53:52 +00:00
jdc 60f7009432 I was slightly too agressive removing clearok() in revision 1.8.
Add back a clearok(stdscr) for terminals where the startup sequence
doesn't clear the screen.
2003-02-02 17:52:29 +00:00
jdc 1b61e72004 Check for equivalance between "se" and "ue" when unsetting them.
Reset the other if unsetting this one also unset the other.
2003-02-02 17:43:16 +00:00
jdc 8f396eb979 Add termcap entry for window(1).
Fixes PR 20111 (from Richard Rauch).
2003-02-02 17:34:19 +00:00
thomas f06cbd4654 Fix printf format for typ daddr_t. 2003-02-02 15:08:37 +00:00
wiz 796ed96dcd Recognize with one i only. From miod@openbsd. 2003-02-02 14:08:04 +00:00
abs fd83215c8b Allow '%D' to be used when no last_file available. Fixes binary package
installation of gnome-dirs.
2003-02-02 12:59:53 +00:00