~ubuntu-branches/ubuntu/wily/openafs/wily

« back to all changes in this revision

Viewing changes to src/afs/LINUX/osi_machdep.h

  • Committer: Package Import Robot
  • Author(s): Luke Faraone
  • Date: 2013-03-05 01:01:49 UTC
  • mfrom: (44.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130305010149-3ui1dhq9a2fw9abp
Tags: 1.6.2-1+ubuntu2
Explicitly include -pthread in UAFS_XLIBS to fix build failure

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
#define current_group_info() (current->cred->group_info)
180
180
#define task_gid(task) (task->cred->gid)
181
181
#define task_user(task) (task->cred->user)
182
 
#define task_session_keyring(task) (task->cred->tgcred->session_keyring)
183
 
#define current_session_keyring() (current->cred->tgcred->session_keyring)
 
182
#if defined(STRUCT_CRED_HAS_SESSION_KEYRING)
 
183
# define task_session_keyring(task) (task->cred->session_keyring)
 
184
# define current_session_keyring() (current->cred->session_keyring)
 
185
#else
 
186
# define task_session_keyring(task) (task->cred->tgcred->session_keyring)
 
187
# define current_session_keyring() (current->cred->tgcred->session_keyring)
 
188
#endif
184
189
 
185
190
#else
186
191