neat
#include <stdio.h>
#include <stdlib.h>
#include <linux/prctl.h>
#include <sys/prctl.h>
#include <string.h>
#include <linux/seccomp.h>
int main(void){
char *c = malloc(1024);
printf("%d", (prctl(PR_GET_SECCOMP)));
if (prctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT) < 0)
perror("didn't work lol");
Comment too long. Click here to view the full text.