isPrivilegedProcess property Null safety

bool isPrivilegedProcess

True if the processes real uid is root.

Implementation

bool get isPrivilegedProcess {
  final uid = getuid();
  verbose(() => 'isPrivilegedProcess: uid=$uid');
  return uid == 0;
}