Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2008 17:06:06 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 153897 for review
Message-ID:  <200812011706.mB1H66QC087033@repoman.freebsd.org>

index | next in thread | raw e-mail

http://perforce.freebsd.org/chv.cgi?CH=153897

Change 153897 by rwatson@rwatson_cinnamon_macosx on 2008/12/01 17:05:57

	For now, don't use 'const' for argv/envv function prototypes in
	the kernel, as we don't for the userspace variants.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/sys/bsm/audit_record.h#4 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/sys/bsm/audit_record.h#4 (text+ko) ====

@@ -26,7 +26,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_record.h#3 $
+ * $P4: //depot/projects/trustedbsd/openbsm/sys/bsm/audit_record.h#4 $
  */
 
 #ifndef _BSM_AUDIT_RECORD_H_
@@ -277,8 +277,8 @@
 token_t	*au_to_subject64_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid,
 	    gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid);
 #if defined(_KERNEL) || defined(KERNEL)
-token_t	*au_to_exec_args(const char *args, int argc);
-token_t	*au_to_exec_env(const char *envs, int envc);
+token_t	*au_to_exec_args(char *args, int argc);
+token_t	*au_to_exec_env(char *envs, int envc);
 #else
 token_t	*au_to_exec_args(char **argv);
 token_t	*au_to_exec_env(char **envp);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812011706.mB1H66QC087033>