mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-01-22 21:04:53 +00:00
20c7020868
Summary: The OSS license linter doesn't like the word "its". Reviewed By: johnhurt Differential Revision: D36856385 fbshipit-source-id: 909037d96de8976f08004497d28b77838f8c6870
29 lines
570 B
ArmAsm
29 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
|