Author: Alan Maguire <Alan.Maguire at Sun.COM>
Repository: /hg/nwam/nwam1
Latest revision: 2dddeef66bef5080acc64c3eeb44866149899872
Total changesets: 1
Log message:
remove read-only property, replacing it by a test on the parent NCP name. If 
the NCP is the automatic NCP, _ENTITY_READ_ONLY may be returned. The test is 
done in the library, so it is centralized, and this approach avoids the need to 
hide a read-only property in the UI
remove _OKAY_TO_WRITE flags
remove related flags from set_prop, delete_prop and ncu_create
validate NCU name using dladm_valid_linkname()
nwamd and netcfgd should run as uid netcfg, gid netadm. Have set privileges to 
all for now, will need to pare these down later
nwamd needs to be root user for sysevent_bind_handle() and friends. Wrapped 
these calls in setuid(0) for now, a better solution may be needed here.
update user_attr.txt with netcfg auths so it can set SMF properties and 
read/write nwam config
nwam_ncu_create() needs to call nwam_set_prop_value() for type/class

Files:
        update: usr/src/cmd/cmd-inet/lib/netcfgd/main.c
        update: usr/src/cmd/cmd-inet/lib/nwamd/llp.c
        update: usr/src/cmd/cmd-inet/lib/nwamd/main.c
        update: usr/src/cmd/cmd-inet/lib/nwamd/ncp.h
        update: usr/src/cmd/cmd-inet/lib/nwamd/ncu_datalink.c
        update: usr/src/cmd/cmd-inet/lib/nwamd/ncu_ip.c
        update: usr/src/cmd/cmd-inet/lib/nwamd/sysevent_events.c
        update: usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/nwamcfg.c
        update: usr/src/cmd/svc/milestone/network-netcfg.xml
        update: usr/src/cmd/svc/milestone/network-physical.xml
        update: usr/src/lib/libnwam/Makefile.com
        update: usr/src/lib/libnwam/README
        update: usr/src/lib/libnwam/common/libnwam.h
        update: usr/src/lib/libnwam/common/libnwam_enm.c
        update: usr/src/lib/libnwam/common/libnwam_impl.h
        update: usr/src/lib/libnwam/common/libnwam_loc.c
        update: usr/src/lib/libnwam/common/libnwam_ncp.c
        update: usr/src/lib/libnwam/common/mapfile-vers
        update: usr/src/lib/libsecdb/user_attr.txt

Reply via email to