summaryrefslogtreecommitdiff
path: root/src/os/linux-os_mount_devtmpfs.c
blob: b3f34a1236fc66edba8ac843ac9bb0b989ab12d6 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <sys/mount.h>

#include "os.h"

int os_mount_devtmpfs (char const *point)
{
  return mount("dev", point, "devtmpfs", MS_NOSUID | MS_NOEXEC, "") ;
}