@Test public void testIsPrivileged() throws Exception { }
public synchronized boolean isPrivileged() { return this.privileged || (KernelThread.currentKernelThread().getUser() != null && KernelThread.currentKernelThread().getUser().isPrivileged() ); }
KernelThread { public synchronized boolean isPrivileged() { return this.privileged || (KernelThread.currentKernelThread().getUser() != null && KernelThread.currentKernelThread().getUser().isPrivileged() ); } }
KernelThread { public synchronized boolean isPrivileged() { return this.privileged || (KernelThread.currentKernelThread().getUser() != null && KernelThread.currentKernelThread().getUser().isPrivileged() ); } KernelThread(Thread thread); }
KernelThread { public synchronized boolean isPrivileged() { return this.privileged || (KernelThread.currentKernelThread().getUser() != null && KernelThread.currentKernelThread().getUser().isPrivileged() ); } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory); }
KernelThread { public synchronized boolean isPrivileged() { return this.privileged || (KernelThread.currentKernelThread().getUser() != null && KernelThread.currentKernelThread().getUser().isPrivileged() ); } KernelThread(Thread thread); Thread getThread(); synchronized boolean isPrivileged(); static KernelThread getKernelThread(Thread t); static KernelThread currentKernelThread(); static void initSysCalls(List<Class> classes); synchronized User getUser(); synchronized void setUser(User user); static void doSysCall(Object obj, Method methodToCall, Object... args); final static Method getSysCallMethod(Class targetClass, String name); final synchronized String getCurrentDirectory(); final synchronized void setCurrentDirectory(String currentDirectory);  }