gss_impl.c (0bfd163f522701b486e066fa2e56624c02f5081a) gss_impl.c (e015b1ab0a428e65297e44471d257d7eb589b383)
1/*-
2 * Copyright (c) 2008 Isilon Inc http://www.isilon.com/
3 * Authors: Doug Rabson <dfr@rabson.org>
4 * Developed with Red Inc: Alfred Perlstein <alfred@freebsd.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 56 unchanged lines hidden (view full) ---

65
66static void
67kgss_init(void *dummy)
68{
69 int error;
70
71 LIST_INIT(&kgss_mechs);
72 error = syscall_register(&gssd_syscall_offset, &gssd_syscall_sysent,
1/*-
2 * Copyright (c) 2008 Isilon Inc http://www.isilon.com/
3 * Authors: Doug Rabson <dfr@rabson.org>
4 * Developed with Red Inc: Alfred Perlstein <alfred@freebsd.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 56 unchanged lines hidden (view full) ---

65
66static void
67kgss_init(void *dummy)
68{
69 int error;
70
71 LIST_INIT(&kgss_mechs);
72 error = syscall_register(&gssd_syscall_offset, &gssd_syscall_sysent,
73 &gssd_syscall_prev_sysent);
73 &gssd_syscall_prev_sysent, SY_THR_STATIC_KLD);
74 if (error)
75 printf("Can't register GSSD syscall\n");
76 else
77 gssd_syscall_registered = TRUE;
78}
79SYSINIT(kgss_init, SI_SUB_LOCK, SI_ORDER_FIRST, kgss_init, NULL);
80
81static void

--- 252 unchanged lines hidden ---
74 if (error)
75 printf("Can't register GSSD syscall\n");
76 else
77 gssd_syscall_registered = TRUE;
78}
79SYSINIT(kgss_init, SI_SUB_LOCK, SI_ORDER_FIRST, kgss_init, NULL);
80
81static void

--- 252 unchanged lines hidden ---