Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] (PR#424) civserver --version as root
Home

[Freeciv-Dev] (PR#424) civserver --version as root

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gkoopman@xxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#424) civserver --version as root
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 18 Nov 2002 10:56:01 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[rp - Sun Nov 17 16:51:28 2002]:

> On Fri, Nov 15, 2002 at 12:58:18PM -0800, Jason Short via RT wrote:

> > Note that as I said in earlier replies, audio_init cannot be moved down
> > below where the options are parsed, as until we init the audio (modules)
> > we cannot determine which modules are available (which is needed for
> > --help).
> 
> But audio shouldn't run as root.  Perhaps it's up to Freeciv
> to prevent it though.

This piece of code does not, as you might expect, actually do any audio.
 It just initializes the list of audio modules available.

The actual playing of audio is safely hidden below the dont_run_as_root
call.

jason



[Prev in Thread] Current Thread [Next in Thread]