+2003-09-28 Pierre Humblet <pierre.humblet@ieee.org>
+
+ * sigproc.cc (proc_subproc): Restrict permissions on ppid_handle.
+
+2003-09-28 Christopher Faylor <cgf@redhat.com>
+
+ * devices.shilka (device::parse): Restore check for tty in unit
+ handling, but without the previous typo.
+ * devices.cc: Regenerate.
+ * devices.h (DEV_CYGDRIVE_MAJOR): Change major number to one used by
+ linux for "user-mode virtual block device".
+
2003-09-28 Corinna Vinschen <corinna@vinschen.de>
* devices.h: Move a few device major numbers. Fix typo of FH_UDP.
if (++len < prior_len)
{
dev = KR_find_keyword (s, len);
- if (!dev || (!dev->upper && !dev->devn == FH_TTY))
+ if (!dev || (!dev->upper && dev->devn != FH_TTY))
dev = NULL;
else
{
FH_URANDOM = FHDEV (1, 9),
FH_OSS_DSP = FHDEV (14, 3),
- DEV_CYGDRIVE_MAJOR = 29,
+ DEV_CYGDRIVE_MAJOR = 98,
FH_CYGDRIVE= FHDEV (DEV_CYGDRIVE_MAJOR, 0),
FH_CYGDRIVE_A= FHDEV (DEV_CYGDRIVE_MAJOR, 'a'),
FH_CYGDRIVE_Z= FHDEV (DEV_CYGDRIVE_MAJOR, 'z'),
if (++len < prior_len)
{
dev = KR_find_keyword (s, len);
- if (!dev || !dev->upper)
+ if (!dev || (!dev->upper && dev->devn != FH_TTY))
dev = NULL;
else
{
ProtectHandle1 (vchild->pid_handle, pid_handle);
if (!DuplicateHandle (hMainProc, hMainProc, vchild->hProcess, &vchild->ppid_handle,
- 0, TRUE, DUPLICATE_SAME_ACCESS))
+ SYNCHRONIZE | PROCESS_DUP_HANDLE, TRUE, 0))
system_printf ("Couldn't duplicate my handle<%p> for pid %d, %E", hMainProc, vchild->pid);
vchild->ppid = myself->pid;
vchild->uid = myself->uid;