[lug] selinux

Jeffrey S. Haemer jeffrey.haemer at gmail.com
Wed Feb 21 18:20:29 MST 2018


Bucky,

Unless the shell script is being far too clever, the string "default" is
being passed to __get_jail_prop() as a parameter.  I might be able to help
more if you included the function definition.

On Wed, Feb 21, 2018 at 5:38 PM, BC <bcarr at purgatoire.org> wrote:

>
> I'm converting a [bash] shell script to golang in an effort to learn to
> program in Go.  I'm having lots of success but this script statement has me
> confused:
>
>
>     _value="$(__get_jail_prop $_property default)"
>
>
> The puzzling word is 'default'.  __get_jail_prop is a function to which is
> passed the parameter $_property (defined elsewhere).  The function returns
> _value.
>
> But what does the word 'default' do?  I tried passing the word "default"
> to the Go-equivalent function and the program bombs.  So I don't think it
> is a parameter to be passed.
>
> Any thoughts on what that word does?
>
> TIA,
>
> Bucky
>
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>



-- 
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell], @goyishekop [twitter]
*פרייהייט? דאס איז יאַנג דינען וואָרט!*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20180221/f6f5fbda/attachment.html>


More information about the LUG mailing list