~ubuntu-branches/ubuntu/jaunty/cron/jaunty-updates

« back to all changes in this revision

Viewing changes to do_command.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-11-15 12:58:26 UTC
  • Revision ID: james.westby@ubuntu.com-20051115125826-aa42nf05d52frf4w
Tags: 3.0pl1-92ubuntu1
Resynchronise with Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
                        fprintf(stdout,"error");
332
332
#endif
333
333
#ifdef WITH_SELINUX
334
 
                        if (is_selinux_enabled() > 0) {
 
334
                        if ((is_selinux_enabled() > 0) && (u->scontext != 0L)) {
335
335
                            security_context_t scontext;
336
336
                            if (setexeccon(u->scontext) < 0) {
337
337
                                if (security_getenforce() > 0) {