Searched refs:invoked_by_uid (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/cmd/hal/tools/ |
H A D | hal-storage-unmount.c | 87 char *invoked_by_uid; in main() local 108 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main() 164 invalid_unmount_option (given, invoked_by_uid); in main() 182 udi, NULL, drive, device, invoked_by_uid, in main() 203 udi, volume, drive, device, invoked_by_uid, in main()
|
H A D | hal-storage-eject.c | 88 char *invoked_by_uid; in main() local 105 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main() 155 invalid_eject_option (given, invoked_by_uid); in main() 207 invoked_by_uid, invoked_by_syscon_name, in main() 229 invoked_by_uid, in main()
|
H A D | hal-is-caller-privileged.c | 109 const char *invoked_by_uid; in main() local 185 invoked_by_uid = getenv("HAL_METHOD_INVOKED_BY_UID"); in main() 189 invoked_by_uid, in main() 203 permission_denied_privilege (privilege, invoked_by_uid); in main()
|
H A D | hal-storage-closetray.c | 88 char *invoked_by_uid; in main() local 103 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main() 153 invalid_closetray_option (given, invoked_by_uid); in main() 170 invoked_by_uid, in main()
|
H A D | hal-storage-mount.c | 451 const char *invoked_by_uid, const char *invoked_by_syscon_name, argument 496 calling_uid = atol (invoked_by_uid); 501 printf ("invoked by uid = %s\n", invoked_by_uid); 518 if (atol (invoked_by_uid) != 0) { 771 invalid_mount_option (given, invoked_by_uid); 812 printf ("using privilege %s for uid %s, system_bus_connection %s\n", privilege, invoked_by_uid, 819 invoked_by_uid, 831 permission_denied_privilege (privilege, invoked_by_uid); 852 calling_uid = (uid_t) strtol (invoked_by_uid, (char **) NULL, 10); 961 device, invoked_by_uid, mount_do_fstype, [all …]
|
H A D | hal-storage-zpool.c | 105 const char *invoked_by_uid, const char *invoked_by_syscon_name, in handle_zpool() argument 122 printf ("invoked by uid = %s\n", invoked_by_uid); in handle_zpool() 186 char *invoked_by_uid; in main() local 197 invoked_by_uid = getenv ("HAL_METHOD_INVOKED_BY_UID"); in main() 249 invoked_by_uid, in main()
|
H A D | hal-storage-shared.c | 265 const char *invoked_by_uid, const char *invoked_by_syscon_name, in handle_unmount() argument 292 printf ("invoked by uid = %s\n", invoked_by_uid); in handle_unmount() 309 if (atol (invoked_by_uid) != 0) { in handle_unmount() 378 if (strcmp (line_elements[1], invoked_by_uid) == 0) { in handle_unmount() 383 st.st_uid == atoi (invoked_by_uid)) { in handle_unmount() 422 if ((strcmp (invoked_by_uid, "0") != 0) && mounted_by_other_uid) { in handle_unmount() 424 permission_denied_privilege ("hal-storage-can-unmount-volumes-mounted-by-others", invoked_by_uid); in handle_unmount() 522 …NFO, "unmounted %s from '%s' on behalf of uid %s", device, mount_point_to_unmount, invoked_by_uid); in handle_unmount() 539 const char *invoked_by_uid, const char *invoked_by_syscon_name, in handle_eject() argument 556 printf ("invoked by uid = %s\n", invoked_by_uid); in handle_eject()
|
H A D | hal-storage-shared.h | 60 const char *invoked_by_uid, const char *invoked_by_syscon_name, 70 const char *invoked_by_uid, const char *invoked_by_syscon_name,
|