12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>SyntaxCALL PXFSETUID (iuid, ierror)iuid(Output) INTEGER(4). The session ID.ierror(Output) INTEGER(4). The user status.If successful, ierror is set to zero; otherwise, an error code.If the effective user ID of the caller is root, the real and saved user ID’s are also set. This featureallows a program other than root to drop all of its user privileges, do some un-privileged work, andthen re-engage the original effective user ID in a secure manner.CAUTION. If the user is root then special care must be taken. PXFSETUIDchecks the effective uid of the caller. If it is the superuser, all process-relateduser ID’s are set to uid. After this has occurred, it is impossible for theprogram to regain root privileges.See Also: “PXFGETUID”PXFSIGACTIONPOSIX Subroutine: Changes the action associated with a specific signal. It can also be used toexamine the action of a signal.Module: USE IFPOSIXSyntaxCALL PXFSIGACTION (isig, jsigact, josigact, ierror)isig(Input) INTEGER(4). The signal number whose action should be changed.jsigact(Input) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. A handle ofstructure sigaction. Specifies the new action for signal isig.josigact(Output) INTEGER(4) on IA-32 processors; INTEGER(8) on Intel Itanium processors. A handleof structure sigaction. Stores the previous action for signal isig.2-328

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!