All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: policy mods for xfs (to support xfstt and xfs-xtt)
Date: Wed, 25 Aug 2004 14:28:34 +0100	[thread overview]
Message-ID: <20040825132834.GB4241@lkcl.net> (raw)
In-Reply-To: <200408252124.12152.russell@coker.com.au>

On Wed, Aug 25, 2004 at 09:24:12PM +1000, Russell Coker wrote:
> What is /usr/bin/xfs-xtt?  Contents-i386.gz doesn't list it.
 
 apt-cache show xfs-xtt:

	Description: X-TrueType font server
	This package provide X-TrueType font server. This is compatible
	normal X font server, but added X-TrueType font handling scheme
	support instead of FreeType backend. XFree86 4.0's font server
	can handle TrueType too, but it can not handle TTCap. By
	using TTCap description, support for font transformations,
	such as slanting, adjusting glyph width, pseudo-bolding, etc.
	.
	xfs-xtt is a daemon that listens on a network port and serves X
	fonts to X servers (and thus to X clients).  All X servers have
	the ability to serve locally installed fonts for themselves,
	but xfs makes it possible to offload that job from the X server,
	and/or have a central repository of fonts on a networked machine
	running xfs so that all the machines running X servers on a
	network do not require their own set of fonts.  xfs may also
	be invoked by users to, for instance, make available X fonts
	in user accounts that are not available to the X server or to
	an already running system xfs-xtt.


 apt-cache show xfstt:

 Description: TrueType Font Server for X11
	xfstt means "X11 Font Server for TT fonts".  TT fonts
	are generally regarded to be the best scalable fonts for
	displays. Applications needing scalable fonts that are to be
	displayed on a screen benefit most.  This server will allow
	X11 applications to use the exact same fonts as the TrueType
	fonts used on most Windows Machines.  NB: This package contains
	NO FONTS. They MUST be obtained separately


 i just installed them both.
 
 well... actually i installed all the font servers i could find.

 maybe i shouldn't have, but i don't care, they're there, ItWorks,
 ItAin'tBroken, IAintGonnaTouchItUnlessItBreaks.


> +allow xfs_t { etc_runtime_t }:dir { getattr search };
> 
> There should not be a directory of type etc_runtime_t (there is no 
> file_contexts entry for it).

 oops!

> What is /var/cache/xfstt?  

 i _really_ don't know!  i was in a hurry!

> The name implies that xfs would write to it, in 
> which case fonts_t is not the appropriate type label.  Changing the policy to 
> allow xfs_t to write to fonts_t changes the way things work.  I think that we 
> probably need different types for read-only files and writable files.
> 
> I've put a few things from your patch in my tree and attached the relevant 
> files in a tgz so we can work from the same base.

 ack.

 ta.  will be in a position to look at it on saturday.

 l.


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-08-25 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-23 23:28 policy mods for xfs (to support xfstt and xfs-xtt) Luke Kenneth Casson Leighton
2004-08-25 11:24 ` Russell Coker
2004-08-25 13:28   ` Luke Kenneth Casson Leighton [this message]
2004-08-25 22:16     ` Erich Schubert
2004-08-26 11:00       ` Luke Kenneth Casson Leighton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040825132834.GB4241@lkcl.net \
    --to=lkcl@lkcl.net \
    --cc=russell@coker.com.au \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.