Changes in / [ef4218f:1a5fe4f] in mainline


Ignore:
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/security/perm.c

    ref4218f r1a5fe4f  
    131131         * doesn't have PERM_PERM.
    132132         */
    133         irq_spinlock_unlock(&TASK->lock, false);
     133        irq_spinlock_lock(&TASK->lock, false);
    134134
    135135        if ((!(TASK->perms & PERM_PERM)) || (task != TASK)) {
  • tools/xcw/bin/helenos-bld-config

    ref4218f r1a5fe4f  
    4747case ".$1" in
    4848(.--cc) extract_field "CC" "$MAKEFILE_COMMON";;
     49(.--ld) extract_field "LD" "$MAKEFILE_COMMON";;
    4950(.--uarch) extract_field "UARCH" "$MAKEFILE_CONFIG";;
    5051(.--endian)
  • tools/xcw/demo/Makefile

    ref4218f r1a5fe4f  
    4343
    4444CC = helenos-cc
    45 CFLAGS = -std=gnu99 -Wall `helenos-pkg-config --cflags libgui libdraw libmath`
     45LD = helenos-ld
     46CFLAGS = -std=gnu11 -Wall `helenos-pkg-config --cflags libgui libdraw libmath` \
     47    -D_HELENOS_SOURCE
    4648LIBS = `helenos-pkg-config --libs libgui libdraw libmath`
    4749output = viewer
     
    5557
    5658$(output): $(objects)
    57         $(CC) -o $@ $^ $(LIBS)
     59        $(LD) -o $@ $^ $(LIBS)
    5860
    5961%.o: %.c
  • uspace/lib/c/Makefile

    ref4218f r1a5fe4f  
    194194        test/stdio/scanf.c \
    195195        test/odict.c \
     196        test/perm.c \
    196197        test/qsort.c \
    197198        test/sprintf.c \
  • uspace/lib/c/include/string.h

    ref4218f r1a5fe4f  
    3636#define LIBC_STRING_H_
    3737
    38 #ifdef _HELENOS_SOURCE
     38#if defined(_HELENOS_SOURCE) && !defined(_REALLY_WANT_STRING_H)
    3939#error Please use str.h and mem.h instead
    4040#endif
  • uspace/lib/c/test/main.c

    ref4218f r1a5fe4f  
    3737PCUT_IMPORT(mem);
    3838PCUT_IMPORT(odict);
     39PCUT_IMPORT(perm);
    3940PCUT_IMPORT(qsort);
    4041PCUT_IMPORT(scanf);
Note: See TracChangeset for help on using the changeset viewer.