1f08c3bdfSopenharmony_ci// SPDX-License-Identifier: GPL-2.0-or-later 2f08c3bdfSopenharmony_ci/* 3f08c3bdfSopenharmony_ci * Copyright (c) Linux Test Project, 2015-2022 4f08c3bdfSopenharmony_ci * Copyright (c) 2015 Cui Bixuan <cuibixuan@huawei.com> 5f08c3bdfSopenharmony_ci */ 6f08c3bdfSopenharmony_ci 7f08c3bdfSopenharmony_ci#ifndef LAPI_MOUNT_H__ 8f08c3bdfSopenharmony_ci#define LAPI_MOUNT_H__ 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ci#include <sys/mount.h> 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_ci#ifndef MS_REC 13f08c3bdfSopenharmony_ci# define MS_REC 16384 14f08c3bdfSopenharmony_ci#endif 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_ci#ifndef MS_PRIVATE 17f08c3bdfSopenharmony_ci# define MS_PRIVATE (1<<18) 18f08c3bdfSopenharmony_ci#endif 19f08c3bdfSopenharmony_ci 20f08c3bdfSopenharmony_ci#ifndef MS_STRICTATIME 21f08c3bdfSopenharmony_ci# define MS_STRICTATIME (1 << 24) 22f08c3bdfSopenharmony_ci#endif 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ci#ifndef MNT_DETACH 25f08c3bdfSopenharmony_ci# define MNT_DETACH 2 26f08c3bdfSopenharmony_ci#endif 27f08c3bdfSopenharmony_ci 28f08c3bdfSopenharmony_ci#ifndef MNT_EXPIRE 29f08c3bdfSopenharmony_ci# define MNT_EXPIRE 4 30f08c3bdfSopenharmony_ci#endif 31f08c3bdfSopenharmony_ci 32f08c3bdfSopenharmony_ci#ifndef UMOUNT_NOFOLLOW 33f08c3bdfSopenharmony_ci# define UMOUNT_NOFOLLOW 8 34f08c3bdfSopenharmony_ci#endif 35f08c3bdfSopenharmony_ci 36f08c3bdfSopenharmony_ci#ifndef MS_NOSYMFOLLOW 37f08c3bdfSopenharmony_ci# define MS_NOSYMFOLLOW 256 38f08c3bdfSopenharmony_ci#endif 39f08c3bdfSopenharmony_ci 40f08c3bdfSopenharmony_ci#endif /* LAPI_MOUNT_H__ */ 41