These system calls are described in "Get and Set File System Security Attribute Flags" in Chapter 2, Getting Started. Also, refer to the getfattrflag(2) man page.
int mldgetfattrflag(const char *path, secflgs_t *flags); int mldsetfattrflag(const char * path, secflgs_t which, secflgs_t flags);