Os.Setgid(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 setgid(2).
[Android.Runtime.Register("setgid", "(I)V", "")]
public static void Setgid(int gid);
[<Android.Runtime.Register("setgid", "(I)V", "")>]
static member Setgid : int -> unit
Parameters
- gid
- Int32
The group ID to apply to the calling process.
- Attributes
Exceptions
Remarks
See setgid(2).
This member is deprecated on Android 10 (API level 29) and later. Android applications generally lack the privileges to change their group ID. The app seccomp filter can terminate the process for this call.
Java documentation for android.system.Os.setgid(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.