Os.Setegid(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See setegid(2).
[Android.Runtime.Register("setegid", "(I)V", "")]
public static void Setegid(int egid);
[<Android.Runtime.Register("setegid", "(I)V", "")>]
static member Setegid : int -> unit
Parameters
- egid
- Int32
The effective group ID to set for the calling process.
- Attributes
Exceptions
Remarks
See setegid(2).
This member is deprecated on Android 10 (API level 29) and later. Android applications generally lack the privileges to change their effective group ID. The app seccomp filter can terminate the process for this call.
Java documentation for android.system.Os.setegid(int).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.