Commit Graph

27 Commits

Author SHA1 Message Date
cgd e475f6d4f2 kill the #if 0 around SHM_*LOCK. makes no difference, though... 1994-12-22 13:30:40 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
mycroft b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
deraadt 3938d6ba02 initialize shmmax to `# of pages' at compile time; multiply by NBPG at
boot time (in shminit). This supports architecture families with varying
values for NBPG, and does not break ipcs.
1994-08-22 23:37:03 +00:00
glass fdbee87708 returning a gift 1994-07-04 23:25:12 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft 58595682af shm map is pageable. 1994-06-25 04:10:18 +00:00
mycroft 2267a8c5fc Use the same algorithm as mmap() with MAP_ANON for placing the segment. 1994-06-03 21:17:09 +00:00
mycroft 919b9c0f72 Get rid of unneeded bzero(). 1994-06-03 21:06:53 +00:00
cgd ebf0357409 sane initialization. fix bug kern/274 1994-06-03 20:53:38 +00:00
mycroft 820102bd99 Update copyright. 1994-05-25 10:15:23 +00:00
mycroft 176f74d111 If we try to create a key that's already being created, wait. 1994-05-25 09:55:32 +00:00
mycroft 319c49b218 And finally, some optimization. 1994-05-25 09:07:43 +00:00
mycroft b77e8e88ee Fix this up some more. (I just read SVID again.) 1994-05-25 08:59:48 +00:00
mycroft 30cbcb7e80 Generalize ipcperm() a little. 1994-05-25 08:15:45 +00:00
mycroft ab0a415c77 Clean this up a bit, and fix several bugs. 1994-05-25 07:36:53 +00:00
hpeyerl 2d7c7416dd sysv_shm.c from Adam.
sysv_ipc.c from me.
and various sundry changes to make sysv_ipc.c fit in.
(somewhat untested and not very pleasant reading material)
1994-05-25 02:14:24 +00:00
cgd 2079970043 SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT 1994-01-08 15:09:01 +00:00
mycroft e879c04f57 #include vm_user.h. 1994-01-08 04:22:36 +00:00
mycroft 7f50bd1829 Canonicalize all #includes. 1993-12-18 04:21:37 +00:00
cgd 4878a43c3d Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:21:59 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft 97cae397ee Finish moving struct definitions outside of function declarations. 1993-07-17 15:24:33 +00:00
cgd 1fd0e7e71f shminit has void return type. 1993-07-04 03:59:55 +00:00
cgd 230dcf0d05 add $Id$ strings, and clean up file headers where necessary 1993-05-20 02:54:09 +00:00
cgd a128c34f9c From: Guido van Rooij <guido@gvr.win.tue.nl>
when mmapping a file, permissions are checked as it should be. When
mprotect()-ing the address range afterwards, no protection was checked
regarding the protection of the file originally opened. So
when you open /usr/bin/su RDONLY and SHARED you could afterwards change
the mmapped region to READ|WRITE. This gave the possibility to obtain
root privs obviously.
1993-04-09 17:16:30 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00