← Commit list

08abe64d9

Rob Landley
Rob Landley
2006-03-01
SOURCE BUG Duration: 23s

Subject

Selinux fix from Jan Kiszka.

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/ls.c+1 -5
@@ -203,10 +203,6 @@ static int list_single(struct dnode *);
static unsigned int all_fmt;
-#ifdef CONFIG_SELINUX
-static int selinux_enabled= 0;
-#endif
-
#ifdef CONFIG_FEATURE_AUTOWIDTH
static int terminal_width = TERMINAL_WIDTH;
static unsigned short tabstops = COLUMN_GAP;
@@ -746,7 +742,7 @@ static int list_single(struct dnode *dn)
case LIST_CONTEXT:
{
char context[80];
- int len;
+ int len = 0;
if (dn->sid) {
/* I assume sid initilized with NULL */