Print this page
OS-4043 tmpfs should support gigabyte sizes
OS-4044 tmpfs should support "mode" option
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

*** 20,35 **** */ /* * Copyright 2007 Sun Microsystems, Inc. * All rights reserved. Use is subject to license terms. */ #ifndef _SYS_FS_TMP_H #define _SYS_FS_TMP_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif /* --- 20,36 ---- */ /* * Copyright 2007 Sun Microsystems, Inc. * All rights reserved. Use is subject to license terms. */ + /* + * Copyright 2015 Joyent, Inc. + */ #ifndef _SYS_FS_TMP_H #define _SYS_FS_TMP_H #ifdef __cplusplus extern "C" { #endif /*
*** 106,115 **** --- 107,117 ---- extern int tmp_resv(struct tmount *, struct tmpnode *, size_t, int); extern int tmp_taccess(void *, int, struct cred *); extern int tmp_sticky_remove_access(struct tmpnode *, struct tmpnode *, struct cred *); extern int tmp_convnum(char *, pgcnt_t *); + extern int tmp_convmode(char *, mode_t *); extern int tdirenter(struct tmount *, struct tmpnode *, char *, enum de_op, struct tmpnode *, struct tmpnode *, struct vattr *, struct tmpnode **, struct cred *, caller_context_t *); #define TMP_MUSTHAVE 0x01