Smack: add the execute lable to ldconfig
[platform/upstream/glibc.git] / posix / Versions
index c106c82..68df3a9 100644 (file)
@@ -1,11 +1,7 @@
 libc {
   GLIBC_2.0 {
     # functions with special/multiple interfaces
-    __bsd_getpgrp; __setpgid; __getpgid;
-
-    # functions which have an additional interface since they are
-    # are cancelable.
-    __libc_wait; __libc_waitpid; __libc_pause; __libc_nanosleep;
+    __bsd_getpgrp; __getpgid; __setpgid;
 
     # functions with required interface outside normal name space
     _exit;
@@ -56,7 +52,7 @@ libc {
     # s*
     sched_get_priority_max; sched_get_priority_min; sched_getparam;
     sched_getscheduler; sched_rr_get_interval; sched_setparam;
-    sched_setscheduler; sched_yield; setegid; seteuid; setgid; setlogin;
+    sched_setscheduler; sched_yield; setegid; seteuid; setgid;
     setpgid; setpgrp; setsid; setuid; sleep; sysconf;
 
     # t*
@@ -84,4 +80,61 @@ libc {
     # w*
     waitid; wordexp; wordfree;
   }
+  GLIBC_2.1.2 {
+    # functions used in other libraries
+    __vfork;
+  }
+  GLIBC_2.2 {
+    # p*
+    posix_spawn_file_actions_init; posix_spawn_file_actions_destroy;
+    posix_spawn_file_actions_addclose; posix_spawn_file_actions_addopen;
+    posix_spawn_file_actions_adddup2;
+    posix_spawnattr_init; posix_spawnattr_destroy;
+    posix_spawnattr_getsigdefault; posix_spawnattr_setsigdefault;
+    posix_spawnattr_getflags; posix_spawnattr_setflags;
+    posix_spawnattr_getpgroup; posix_spawnattr_setpgroup;
+    posix_spawnattr_setsigmask; posix_spawnattr_getsigmask;
+    posix_spawn; posix_spawnp; posix_spawnattr_getschedpolicy;
+    posix_spawnattr_setschedpolicy; posix_spawnattr_getschedparam;
+    posix_spawnattr_setschedparam;
+
+    # Used in macros.
+    __sysconf;
+  }
+  GLIBC_2.2.3 {
+    # Extended Interface.
+    fnmatch;
+  }
+  GLIBC_2.2.6 {
+    # For syscall wrapper
+    __nanosleep;
+  }
+  GLIBC_2.3.2 {
+    # Note that these symbols appear in sysdeps/unix/sysv/linux/Versions
+    # under GLIBC_2.0; the first instance in the script is taken as the
+    # default, so linux configurations put them in GLIBC_2.0 while other
+    # configuration put them in GLIBC_2.3.2.
+    getresgid; getresuid; setresgid; setresuid;
+  }
+  GLIBC_2.3.3 {
+    sched_getaffinity; sched_setaffinity;
+  }
+  GLIBC_2.3.4 {
+    regexec;
+  }
+  GLIBC_2.6 {
+    __sched_cpucount;
+  }
+  GLIBC_2.7 {
+    __sched_cpualloc; __sched_cpufree;
+  }
+  GLIBC_2.10 {
+    __posix_getopt;
+  }
+  GLIBC_2.11 {
+    execvpe;
+  }
+  GLIBC_PRIVATE {
+    __libc_fork; __libc_pwrite;
+  }
 }