]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify mountd to use the new struct export_args committed by r362158.
authorrmacklem <rmacklem@FreeBSD.org>
Sun, 14 Jun 2020 00:40:00 +0000 (00:40 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sun, 14 Jun 2020 00:40:00 +0000 (00:40 +0000)
commit1bfe4e8613bda2e58677226bef6e80cda0a710ef
tree2e48e372d42f513bbf582e18c97528d548f485ce
parent7229b0806fc5782d7e258c1f577335cc416e2858
Modify mountd to use the new struct export_args committed by r362158.

r362158 modified struct export_args for make the ex_flags field 64bits
and also changed the anonymous credentials to allow more than 16 groups.
This patch fixes mountd.c to use the new structure.
It does allocate larger exportlist and grouplist structures now.
That will be fixed in a future commit.
The only visible change will be that the credentials provided for the
-maproot and -mapall exports options can now have more than 16 groups.

Reviewed by: kib, freqlabs
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D25088
usr.sbin/mountd/mountd.c