/
githubmirror
/
strace
Обзор
Документация
Войти
/
githubmirror
/
strace
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v6.13
src/open_tree.c
28 строк
536 B
Dmitry V. Levin
open_tree: use print_fields.h helpers
12 мар 2021, 11:00
12 мар 2021, 11:00
0b4ca5e
Код
Авторство
О чём код?
/* * Copyright (c) 2019-2021 Dmitry V. Levin <ldv@strace.io> * All rights reserved. * * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "defs.h" #include <linux/mount.h> #include "kernel_fcntl.h" #include <linux/fcntl.h> #include "xlat/open_tree_flags.h" SYS_FUNC(open_tree) { /* dfd */ print_dirfd(tcp, tcp->u_arg[0]); tprint_arg_next(); /* pathname */ printpath(tcp, tcp->u_arg[1]); tprint_arg_next(); /* flags */ printflags(open_tree_flags, tcp->u_arg[2], "OPEN_TREE_???"); return RVAL_DECODED | RVAL_FD; }