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

#include <skalibs/nonposix.h>

#include <sys/param.h>
#include <sys/mount.h>

#include "os.h"

int os_mount_devtmpfs (char const *point)
{
  return mount("devfs", point, MNT_NOEXEC | MNT_NOSUID, "") ;
}