Home
last modified time | relevance | path

Searched refs:invoked_by_uid (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/hal/tools/
H A Dhal-storage-unmount.c87 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 Dhal-storage-eject.c88 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 Dhal-is-caller-privileged.c109 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 Dhal-storage-closetray.c88 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 Dhal-storage-mount.c451 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 Dhal-storage-zpool.c105 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 Dhal-storage-shared.c265 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 Dhal-storage-shared.h60 const char *invoked_by_uid, const char *invoked_by_syscon_name,
70 const char *invoked_by_uid, const char *invoked_by_syscon_name,