modify smackfs.c

update function smk_write_onlycap
adding smk option