diff options
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
-rw-r--r-- | sys/fs/umapfs/umap_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c index c61fe7c..44730bd 100644 --- a/sys/fs/umapfs/umap_subr.c +++ b/sys/fs/umapfs/umap_subr.c @@ -362,6 +362,8 @@ umap_mapids(v_mount, credp) if (credp == NOCRED) return; + KASSERT(!crshared(credp), ("remapping a shared cred")); + /* Find uid entry in map */ uid = (uid_t) umap_findid(credp->cr_uid, |