1/* 2 * Copyright 2022, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _OBSD_COMPAT_SYS_UCRED_H_ 6#define _OBSD_COMPAT_SYS_UCRED_H_ 7 8 9#include <sys/priv.h> 10 11 12#define suser(...) priv_check(NULL, PRIV_DRIVER) 13 14 15#endif /* _OBSD_COMPAT_SYS_UCRED_H_ */ 16