CVSROOT:        /cvs/src
Module name:    src
Branch:         cygwin_daemon
Changes by:     [EMAIL PROTECTED]       2002-07-10 07:40:17

Modified files:
        winsup/cygwin  : shm.cc cygserver_shm.cc cygserver_shm.h 
                         cygwin.din Makefile.in 
        winsup/cygwin/include/sys: ipc.h shm.h 
Added files:
        winsup/cygwin  : msg.cc sem.cc 
        winsup/cygwin/include/sys: msg.h sem.h 

Log message:
        * msg.cc: New file of stub functions, no functionality.
        * sem.cc: Ditto.
        * shm.cc (client_shmmgr::shmctl): Add support for an out shm_info
        buffer for the SHM_INFO command.
        (client_shmmgr::shmget): Use %X to print keys.
        * include/sys/ipc.h: Comment all fields and values.
        (IPC_PRIVATE): Change to be non-negative.
        * include/sys/msg.h: New file with SUSv3 and ipcs(8) interfaces.
        * include/sys/sem.h: Ditto.
        * include/sys/shm.h: Comment all fields and values.
        (struct shm_info): New struct.
        * cygserver_shm.h (client_request_shm::shminfo): Rename.
        (client_request_shm::shm_info): New method.
        (client_request_shm::_parameters.out.hFileMap): Move into union.
        (client_request_shm::_parameters.out.shminfo): Rename.
        (client_request_shm::_parameters.out.shm_info): New field.
        * cygserver_shm.cc (server_shmmgr::_shm_ids): Rename.
        (server_shmmgr::_shm_tot): New field.
        (server_shmmgr::shmctl): Rename `out_shminfo' argument.  Add
        `out_shm_info' argument.  Fill in the `out_shm_info' argument in
        the SHM_INFO command.
        (server_shmmgr::shmget): Check `shmflg' against the mode of
        existing segments as per Stevens 1990, p. 123.
        (server_shmmgr::server_shmmgr): Initialize the new `_shm_tot'
        field.
        (server_shmmgr::new_segment): Set ENOMEM if CreateFileMapping
        fails.  Pass `size' to new_segment.
        (server_shmmgr::new_segment): Add size argument and use it to
        check against and update the new `_shm_tot' field.
        (server_shmmgr::delete_segment): Update the new `_shm_tot' field.
        * cygwin.din: Add the SysV IPC msg and sem interfaces.
        * Makefile.in (DLL_OFILES): Add new DLL object files.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/msg.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sem.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/shm.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.16&r2=1.1.2.17
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_shm.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.21&r2=1.1.2.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_shm.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.14&r2=1.1.2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygwin.din.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.37.2.8&r2=1.37.2.9
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.63.2.15&r2=1.63.2.16
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/msg.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/sem.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/ipc.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.6&r2=1.1.2.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/shm.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.5&r2=1.1.2.6

Reply via email to