01: package org.mortbay.setuid; 02: 03: public class SetUID { 04: public static final int OK = 0; 05: public static final int ERROR = -1; 06: 07: public static native int setumask(int mask); 08: 09: public static native int setuid(int uid); 10: 11: static { 12: System.loadLibrary("setuid"); 13: } 14: }