static int dummy_syslog (int type)
{
- if ((type != 3) && current->euid)
+ if ((type != 3 && type != 10) && current->euid)
return -EPERM;
return 0;
}
return 0;
}
-static int dummy_shm_shmat (struct shmid_kernel *shp, char *shmaddr,
+static int dummy_shm_shmat (struct shmid_kernel *shp, char __user *shmaddr,
int shmflg)
{
return 0;