blob: a968ccb889d9f7827db95b8a1217289ed509daaf [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// 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);
}