浏览代码

Add missing S_ISUID and S_ISGID constants

(cherry picked from commit 0907628b73ebee55fde0ea0670f43e5aa3ebd4df)
Pierre Muller 2 年之前
父节点
当前提交
289ae1c43f
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      rtl/haiku/ostypes.inc

+ 3 - 1
rtl/haiku/ostypes.inc

@@ -53,7 +53,9 @@ Const
 
 
   S_IFSOCK= &0000000000; // not defined under BeOS
   S_IFSOCK= &0000000000; // not defined under BeOS
   S_IFWHT = &0000000000; // not defined under BeOS
   S_IFWHT = &0000000000; // not defined under BeOS
-  S_ISVTX = &1000;
+  S_ISUID = &4000;       { set user id on execution }
+  S_ISGID = &2000;       { set group id on execution }
+  S_ISVTX = &1000;       { save swapped text even after use (sticky bit) }
 
 
 //      CONST SYS_NMLN=32;
 //      CONST SYS_NMLN=32;