[REFACTOR] Refactor setting smack attributes to `fd_setup_smack_attributes`