diff options
| author | fvdl <fvdl@NetBSD.org> | 1995-03-05 23:23:37 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 1995-03-05 23:23:37 +0000 |
| commit | 182c23c8bc953f735285f652e318b26abdb110d5 (patch) | |
| tree | c412b378bbe811dee6c821046621ac00649e418e /sys/compat/linux/include/linux_util.h | |
| parent | 6c30f4a8925eee67df33399ec86d46da08c9612e (diff) | |
Added a few more system calls.
More consistent alternate root file semantics throughout.
Diffstat (limited to 'sys/compat/linux/include/linux_util.h')
| -rw-r--r-- | sys/compat/linux/include/linux_util.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/compat/linux/include/linux_util.h b/sys/compat/linux/include/linux_util.h index a720ddf476d..8b2a3c8463a 100644 --- a/sys/compat/linux/include/linux_util.h +++ b/sys/compat/linux/include/linux_util.h @@ -1,4 +1,4 @@ -/* $NetBSD: linux_util.h,v 1.1 1995/02/28 23:26:17 fvdl Exp $ */ +/* $NetBSD: linux_util.h,v 1.2 1995/03/05 23:23:50 fvdl Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -67,9 +67,12 @@ stackgap_alloc(sgp, sz) extern const char linux_emul_path[]; int linux_emul_find __P((struct proc *, caddr_t *, const char *, char *, - char **)); + char **, int)); -#define CHECK_ALT(p, sgp, path) \ - linux_emul_find(p, sgp, linux_emul_path, path, &(path)) +#define CHECK_ALT_EXIST(p, sgp, path) \ + linux_emul_find(p, sgp, linux_emul_path, path, &(path), 0) + +#define CHECK_ALT_CREAT(p, sgp, path) \ + linux_emul_find(p, sgp, linux_emul_path, path, &(path), 1) #endif /* !_LINUX_UTIL_H_ */ |
