/* Returns 0 if current can read the object task, error code otherwise  */
static int smack_task_getpgid(struct task_struct *p)
/* Returns 0 if current can read the object task, error code otherwise  */
static int smack_task_getpgid(struct task_struct *p)
{
	return smk_curacc_on_task(p, MAY_READ);
}