Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177982
b: refs/heads/master
c: a00ae4d
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and James Morris committed Dec 16, 2009
1 parent 5ea3774 commit 51963f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e1415467614e854fee660ff6648bd10fa976e95
refs/heads/master: a00ae4d21b2fa9379914f270ffffd8d3bec55430
10 changes: 10 additions & 0 deletions trunk/security/keys/keyctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,7 @@ long keyctl_get_security(key_serial_t keyid,
*/
long keyctl_session_to_parent(void)
{
#ifdef TIF_NOTIFY_RESUME
struct task_struct *me, *parent;
const struct cred *mycred, *pcred;
struct cred *cred, *oldcred;
Expand Down Expand Up @@ -1326,6 +1327,15 @@ long keyctl_session_to_parent(void)
error_keyring:
key_ref_put(keyring_r);
return ret;

#else /* !TIF_NOTIFY_RESUME */
/*
* To be removed when TIF_NOTIFY_RESUME has been implemented on
* m68k/xtensa
*/
#warning TIF_NOTIFY_RESUME not implemented
return -EOPNOTSUPP;
#endif /* !TIF_NOTIFY_RESUME */
}

/*****************************************************************************/
Expand Down

0 comments on commit 51963f9

Please sign in to comment.