mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
Selinux fix from Jan Kiszka.
This commit is contained in:
parent
b7f39732f8
commit
08abe64d91
@ -203,10 +203,6 @@ static int list_single(struct dnode *);
|
|||||||
|
|
||||||
static unsigned int all_fmt;
|
static unsigned int all_fmt;
|
||||||
|
|
||||||
#ifdef CONFIG_SELINUX
|
|
||||||
static int selinux_enabled= 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_FEATURE_AUTOWIDTH
|
#ifdef CONFIG_FEATURE_AUTOWIDTH
|
||||||
static int terminal_width = TERMINAL_WIDTH;
|
static int terminal_width = TERMINAL_WIDTH;
|
||||||
static unsigned short tabstops = COLUMN_GAP;
|
static unsigned short tabstops = COLUMN_GAP;
|
||||||
@ -746,7 +742,7 @@ static int list_single(struct dnode *dn)
|
|||||||
case LIST_CONTEXT:
|
case LIST_CONTEXT:
|
||||||
{
|
{
|
||||||
char context[80];
|
char context[80];
|
||||||
int len;
|
int len = 0;
|
||||||
|
|
||||||
if (dn->sid) {
|
if (dn->sid) {
|
||||||
/* I assume sid initilized with NULL */
|
/* I assume sid initilized with NULL */
|
||||||
|
Loading…
Reference in New Issue
Block a user