|
|
1.1 ! root 1: ! 2: ! 3: setuid() COHERENT System Call setuid() ! 4: ! 5: ! 6: ! 7: ! 8: Set user id ! 9: ! 10: iinntt sseettuuiidd(_i_d) iinntt _i_d; ! 11: ! 12: setuid sets the real user id and the user id of the calling ! 13: process to id. (For more information on the user id, see exec). ! 14: ! 15: The call is allowed if the real id of the calling process matches ! 16: id or is the superuser. ! 17: ! 18: ***** See Also ***** ! 19: ! 20: COHERENT system calls, exec, getuid(), login, setgid() ! 21: ! 22: ***** Diagnostics ***** ! 23: ! 24: setuid returns zero on success, or -1 on failure. ! 25: ! 26: ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.