linux_dummy.c (de774e422e7f8abf9d4c6084165c9de66f11b2de) linux_dummy.c (6d926e850d22c5c563571561c446c3c0dec16143)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2013 Dmitry Chagin
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 118 unchanged lines hidden (view full) ---

127DUMMY(mlock2);
128/* Linux 4.6: */
129DUMMY(preadv2);
130DUMMY(pwritev2);
131/* Linux 4.8: */
132DUMMY(pkey_mprotect);
133DUMMY(pkey_alloc);
134DUMMY(pkey_free);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2013 Dmitry Chagin
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 118 unchanged lines hidden (view full) ---

127DUMMY(mlock2);
128/* Linux 4.6: */
129DUMMY(preadv2);
130DUMMY(pwritev2);
131/* Linux 4.8: */
132DUMMY(pkey_mprotect);
133DUMMY(pkey_alloc);
134DUMMY(pkey_free);
135DUMMY(open_tree);
136DUMMY(move_mount);
137DUMMY(fsopen);
138DUMMY(fsconfig);
139DUMMY(fsmount);
140DUMMY(fspick);
141DUMMY(pidfd_open);
142DUMMY(clone3);
143DUMMY(close_range);
144DUMMY(openat2);
145DUMMY(pidfd_getfd);
146DUMMY(faccessat2);
147DUMMY(process_madvise);
148DUMMY(epoll_pwait2);
149DUMMY(mount_setattr);
135
136#define DUMMY_XATTR(s) \
137int \
138linux_ ## s ## xattr( \
139 struct thread *td, struct linux_ ## s ## xattr_args *arg) \
140{ \
141 \
142 return (EOPNOTSUPP); \

--- 13 unchanged lines hidden ---
150
151#define DUMMY_XATTR(s) \
152int \
153linux_ ## s ## xattr( \
154 struct thread *td, struct linux_ ## s ## xattr_args *arg) \
155{ \
156 \
157 return (EOPNOTSUPP); \

--- 13 unchanged lines hidden ---