blob: c4f25771366ef8d64ea5ff3b7b2ecb77943df1cf [file] [log] [blame]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Simple program that calls brk. Used to verify crash_reporter's behavior on
// seccomp violations.
#include <stdlib.h>
#include <unistd.h>
#include <asm/unistd.h>
int main(int argc, char **argv) {
syscall(__NR_brk, NULL);
syscall(__NR_exit, 0);
}