Print this page
7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (aslr)
7031 noexec_user_stack should be a secflag
7032 want a means to forbid mappings around NULL.

@@ -1469,10 +1469,28 @@
         skip_bytes(ctx);
 
         return (0);
 }
 
+/*
+ * -----------------------------------------------------------------------
+ * secflags_token()     : Process secflags token and display contents
+ *
+ * Format of privilege token:
+ *      secflags token id       adr_char
+ *      secflag set name        adr_string
+ *      secflags                adr_string
+ * -----------------------------------------------------------------------
+ */
+int
+secflags_token(parse_context_t *ctx)
+{
+        skip_bytes(ctx);
+        skip_bytes(ctx);
+
+        return (0);
+}
 
 /*
  * Format of label token:
  *      label ID                1 byte
  *      compartment length      1 byte