reverie/tests/disabled/openat2.S
Jason White 20c7020868 Appease the copyright linter
Summary: The OSS license linter doesn't like the word "its".

Reviewed By: johnhurt

Differential Revision: D36856385

fbshipit-source-id: 909037d96de8976f08004497d28b77838f8c6870
2022-06-02 11:51:06 -07:00

30 lines
570 B
ArmAsm

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* openat2.S: create syscalls sequence that cannot be patchable
*/
.text
.global _start
.type _start, @function
_start:
sub $0x8, %rsp
movq $0x6d6f646e, %rax
push %rax
movabs $0x6172752f7665642f, %rax
push %rax
mov $0x101, %eax
mov $0xffffff9c, %rdi
mov %rsp, %rsi
mov $0x0, %rdx
syscall
mov $0xe7, %eax
mov $0, %rdi
syscall