Commit Graph

27997 Commits

Author SHA1 Message Date
mycroft 06fb68217b Oops; fix reversed test for VDIR. 1997-05-08 16:34:54 +00:00
mycroft e3f99a9397 Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
mycroft 07ba5e5ac3 Snapshot of namei() cleanup:
1) Eliminate all of the null component name special cases; handle runs of
slashes and leading and trailing slashes completely differently.
2) Return ENOENT when doing a lookup through an empty symlink.
3) Enforce that we're doing a lookup through a directory in in chdir() and
lookup() rather than in foo_lookup().

Not yet finished.
1997-05-08 14:55:22 +00:00
kleink 5482ee2d93 Fixed copyin() argument botch in shmctl() IPC_STAT handling. 1997-05-08 14:33:11 +00:00
matthias 5c6f7fca32 * Update asm.h to be more like the other port's asm.h.
* Update locore.s to use all the macros defined asm.h
* Update random.s to use the much nicer algorithm from the m68k port.
1997-05-08 13:44:11 +00:00
matthias b153a75c32 * Add correct $NetBSD$ headers everywhere.
* Remove $Id$ headers.
* Support LIB_SCCS in all files.
* Use local labels where ever possible.
* Use cpufunc.h instead of __asm__ when possible.
* Access labels with _C_LABEL and _ASM_LABEL.
* Always set errno by calling cerror.
* No more FRAME/EMARF.
* No more SVC, use SYSTRAP instead.
* Use "$Masqueraded: as XXX $" to show e.g. memcpy compiled as bcopy.
* Rewrite vfork to work even whith a "real" vfork system call.
* Make cerror take care of _REENTRANT.
1997-05-08 13:38:29 +00:00
mycroft 4d2eb6bb39 GC some code. 1997-05-08 12:17:47 +00:00
mycroft 0ecc9cdac1 Update to 1.2E. 1997-05-08 11:40:16 +00:00
mycroft 837a72363d VEXEC -> VLOOKUP, as appropriate. 1997-05-08 10:57:17 +00:00
mycroft 8f5978a181 GC VS[UG]ID and VSVTX, and add a new VLOOKUP, since the semantics are now
different from VEXEC.
1997-05-08 10:21:35 +00:00
mycroft d7f33c5e60 va_mode contains stat bits. Use S_IS[UG]ID rather than VS[UG]ID. 1997-05-08 10:19:10 +00:00
mikel 084c671748 use u_quad_t to hold bytes written; fixes PR bin/3544. 1997-05-08 06:40:28 +00:00
cjs 90423c173a If the -m option is used, make will check for the existence of the
directory specified, and add it to sysIncPath only if it exists.
However, afterwards make tested for the presence of a -m option by
checking to see if sysIncPath was an empty list, and assumed that
the -m option was not used if it was empty. This obviously breaks
if -m specified a non-existent directory. So I have added a flag
that is set if the -m option is used, and I test that instead.
1997-05-08 05:19:46 +00:00
thorpej fd9b64b81a Garbage-collect an unneeded #ifdef. 1997-05-08 04:39:35 +00:00
thorpej 158a6e52a4 Garbage-collect and uneeded #ifdef. 1997-05-08 04:39:03 +00:00
scottr 94e0a9b88d Update to current configurations. 1997-05-08 04:09:27 +00:00
thorpej 47aae56862 Sync w/ SPARC port, from Paul Krannenburg <pk@netbsd.org>:
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-05-08 01:33:49 +00:00
lukem a18d6f1948 fix typo. from msaitoh@spa.is.uec.ac.jp, [misc/3584] 1997-05-07 23:19:03 +00:00
augustss 07cf0ea21d Oops, forgot this in previous commit. 1997-05-07 20:23:53 +00:00
mycroft 8350f2906b Fix the MACHINE and MACHINE_ARCH links. 1997-05-07 19:34:16 +00:00
mycroft 2189b1da42 Make $S default to /sys. 1997-05-07 19:25:16 +00:00
augustss c397fa8357 Return audio buffer size in audio_info_t with ioctl() AUDIO_GETINFO.
Use the buffer size to implement one more OSS ioctl().
1997-05-07 19:24:25 +00:00
mycroft 413d34c758 Add some dummy targets. 1997-05-07 19:09:47 +00:00
gwr 84e0c3eb4b Add a "kill" command that calls db_kill_proc(). 1997-05-07 18:51:58 +00:00
augustss c4a52794f1 Convert to new orthogonal audio encoding scheme and implement
some of the new encodings.  The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
gwr 8ae8b46853 Add db_kill_proc(). 1997-05-07 18:50:50 +00:00
gwr 9fa3dabef7 Moved db_show_all_procs() to kern_proc.c 1997-05-07 18:49:10 +00:00
gwr 48c524e63a Add db_kill_proc() for DDB (and move db_show_all_procs here so
all the "proc" debugging stuff is here in one place).
1997-05-07 18:48:15 +00:00
thorpej b5c783c6e4 Merge 970327 "de" update. 1997-05-07 18:45:01 +00:00
mycroft 84bca5d679 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:28:47 +00:00
mycroft b81d43c325 Fix typo. 1997-05-07 17:17:20 +00:00
mycroft 53fb29bd67 We don't need a special clean: target here. 1997-05-07 17:16:05 +00:00
mjacob 11fc3c2a7a In case someone doesn't compile in DEBUG we need to still
snag the msgbuf. Also, observe protocols about message buffer
being 'mapped'.
1997-05-07 17:13:32 +00:00
mycroft b2a77a6aa4 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:06:16 +00:00
mycroft b89441bd06 Always define cleanman. 1997-05-07 16:45:40 +00:00
mycroft 78f9e94dd2 Always define cleandepend. Don't use a .depend target if SRCS is empty. 1997-05-07 16:44:04 +00:00
mycroft b475e889d8 Introduce a separate cleandoc target. 1997-05-07 16:35:44 +00:00
mrg ca4f633f80 ensure strncpy() is nul terminated. 1997-05-07 16:35:34 +00:00
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft 1b437a22e5 Use SCRIPTS to install this. 1997-05-07 16:17:40 +00:00
mycroft 5432d44374 Override the proginstall target to do our special hackery. (Yuck.) 1997-05-07 16:15:01 +00:00
mycroft 29ed66d6d3 Minor change. 1997-05-07 16:13:46 +00:00
mycroft f778381424 Clean up weirdness. 1997-05-07 16:13:13 +00:00
mycroft 6df71800cb Use afterinstall, not realinstall, for data files. 1997-05-07 16:12:00 +00:00
mycroft 9091c8c59a Clean up the proginstall hacks a little. 1997-05-07 16:06:00 +00:00
mycroft 8306be60f4 Use afterinstall, not proginstall, to run post-installation crap. 1997-05-07 16:03:15 +00:00
mycroft 6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
mycroft bb8827f7d1 Various simplifications. 1997-05-07 15:53:28 +00:00
mycroft 85903d50e2 Add some missing .PHONYs. 1997-05-07 13:33:59 +00:00
mrg 78c51899a9 use ${.CURDIR} correctly. from enami tsugutomo in pr#3582 1997-05-07 13:20:40 +00:00