summaryrefslogtreecommitdiff
path: root/src/linux/open_by_handle_at.c
blob: 1c9b6a2be4df8e0f5af8e80bb2530c7979c60418 (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <fcntl.h>
#include "syscall.h"

int open_by_handle_at(int mount_fd, struct file_handle *handle, int flags)
{
	return syscall(SYS_open_by_handle_at, mount_fd, handle, flags);
}