=== modified file 'init/parse_job.c'
--- init/parse_job.c	2012-11-07 15:17:58 +0000
+++ init/parse_job.c	2013-02-19 22:02:03 +0000
@@ -216,6 +216,10 @@
 			       const char *file, size_t len,
 			       size_t *pos, size_t *lineno)
 	__attribute__ ((warn_unused_result));
+static int stanza_seccomp_flt (JobClass *class, NihConfigStanza *stanza,
+			       const char *file, size_t len,
+			       size_t *pos, size_t *lineno)
+	__attribute__ ((warn_unused_result));
 static int stanza_debug       (JobClass *class, NihConfigStanza *stanza,
 			       const char *file, size_t len,
 			       size_t *pos, size_t *lineno)
@@ -267,6 +271,7 @@
 	{ "chdir",       (NihConfigHandler)stanza_chdir       },
 	{ "setuid",      (NihConfigHandler)stanza_setuid      },
 	{ "setgid",      (NihConfigHandler)stanza_setgid      },
+	{ "seccomp-filter", (NihConfigHandler)stanza_seccomp_flt },
 	{ "debug",       (NihConfigHandler)stanza_debug       },
 	{ "manual",      (NihConfigHandler)stanza_manual      },
 	{ "usage",       (NihConfigHandler)stanza_usage       },
@@ -1046,6 +1051,43 @@
 
 
 /**
+ * stanza_seccomp_flt:
+ * @class: job class being parsed,
+ * @stanza: stanza found,
+ * @file: file or string to parse,
+ * @len: length of @file,
+ * @pos: offset within @file,
+ * @lineno: line number.
+ *
+ * Parse a seccomp-filter stanza from @file, extracting a single argument
+ * containing a seccomp filter.
+ *
+ * Returns: zero on success, negative value on error.
+ **/
+static int
+stanza_seccomp_flt (JobClass        *class,
+		    NihConfigStanza *stanza,
+		    const char      *file,
+		    size_t           len,
+		    size_t          *pos,
+		    size_t          *lineno)
+{
+	nih_assert (class != NULL);
+	nih_assert (stanza != NULL);
+	nih_assert (file != NULL);
+	nih_assert (pos != NULL);
+	
+	if (class->seccomp_filter)
+		nih_unref (class->seccomp_filter, class);
+	
+	class->seccomp_filter = nih_config_next_arg (class, file, len, pos, lineno);
+	if (!class->seccomp_filter)
+		return -1;
+	
+	return nih_config_skip_comment (file, len, pos, lineno);
+}
+
+/**
  * stanza_debug:
  * @class: job class being parsed,
  * @stanza: stanza found,

