Sponsored Content
Full Discussion: riddle
The Lounge What is on Your Mind? Chat with iBot - Our RSS Robot Girl riddle Post 64843 by google on Wednesday 2nd of March 2005 03:51:43 PM
Old 03-02-2005
Who do you respect?
 

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Riddle - solve it if you can

I don't understand this, can anyone explain the evaluation logic used here, and I would really appreciate a general explanation for it. ---------------------- Here's the korn script: -------------------- #! /usr/bin/ksh if ] then echo true else echo false fi if (( 2 > 10 )) then... (1 Reply)
Discussion started by: numstr
1 Replies

2. Shell Programming and Scripting

Ksh riddle: interpret variable two times?

exam is a ksh script. In command line I enter: exam 3 param_2 param_3 param_4. In exam how can I get the value of the parameter which position is specified by the first argument. Simply doing this DOES NOT work: offset=$1 value=$$offset can you figure out any possible way to interpret a... (5 Replies)
Discussion started by: i27oak
5 Replies

3. UNIX for Dummies Questions & Answers

Output from who command - quick riddle

Hi all. So I have a problem. I have been doing real good figuring this stuff out on my own but Im a newbie and stuck on something that is probably real basic. I want to get the following output from the who command: User TTY Date Time gd22a12 pts/1 Feb 1 11:34 gd22a13 pts/3 Feb 1... (13 Replies)
Discussion started by: losingit
13 Replies
semanage_modify(3)					   Libsemanage API documentation					semanage_modify(3)

NAME
semanage_modify - SELinux Management API SYNOPSIS
The following modify function is supported for any semanage record. Replace the function and object name as necessary. extern int MODIFY_FUNCTION ( semanage_handle_t *handle, const semanage_OBJECT_key_t *key, const semanage_OBJECT_t *data); DESCRIPTION
Behavior: If a matching key is found in the local store, the provided object will replace the current one. Otherwise, it will be added to the store. When semanage_commit(3) is invoked, changes will be permanently written into the local store, and then loaded into policy. Validity of the object being added is checked at commit time. Adding new objects with respect to policy is allowed, except in the case of booleans. Attempt to add new booleans with respect to policy will fail at commit time. Parameters: The handle is used to track persistent state across semanage calls, and for error reporting. The key identifies the data object, which will be written into the store. The key are data are properties of the caller, and are not stored or modified internally. Requirements: This function requires an semanage connection to be established (see semanage_connect(3) ), and must be executed in a transaction (see semanage_begin_transaction(3) ). RETURN VALUE
In case of failure, -1 is returned, and the semanage error callback is invoked, describing the error. Otherwise 0 is returned. SEE ALSO
semanage_handle_create(3), semanage_begin_transaction(3), semanage_connect(3), semanage_commit(3). ivg2@cornell.edu 16 March 2006 semanage_modify(3)
All times are GMT -4. The time now is 05:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy