coreutils / gnulib Goto Github PK
View Code? Open in Web Editor NEWupstream mirror
Home Page: http://git.savannah.gnu.org/gitweb/?p=gnulib.git
License: Other
upstream mirror
Home Page: http://git.savannah.gnu.org/gitweb/?p=gnulib.git
License: Other
Usernames on multiple operating systems (especially ones which are AD-joined) support "." in [long] usernames. Unfortunately, userspec.c treats "." like a user/group separator for unclear legacy reasons. This is very problematic behavior that can cause very unportable unexpected results in consumers which leverage the API, like chown(1).
Say, for instance, someone introduced a user, root.wheel
, then tried to chown the file as root.wheel
-- it would actually chown the file to user=root
, group=wheel
, which is unexpected, instead of chowning it to a user named root.wheel
.
If an attacker was aware of this caveat and there was a program run as root or had superuser permissions to set file ownership and the system had a user named root.wheel
, which sanitized the input to ensure that the user first existed before passing the string to chown(1)
, files could be setuid to allow permissions to root:wheel
, and thus could be abused by the attackers to run the intercepted program with superuser privileges.
Ref: 693dd1d
Dear all,
I am trying to compile buildroot for riscv64, but I am getting many errors. I don't know how to resolve this error.
Error:
fseeko.c:109:4: error: #error "Please port gnulib fseeko.c to your platform! Loo k at the code in fseeko.c, then report this to bug-gnulib."
109 | #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."
| ^~~~~
make[5]: *** [Makefile:1842: fseeko.o] Error 1
make[5]: *** Waiting for unfinished jobs....
freadahead.c: In function 'freadahead':
freadahead.c:91:3: error: #error "Please port gnulib freadahead.c to your platfo rm! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
91 | #error "Please port gnulib freadahead.c to your platform! Look at the d efinition of fflush, fread, ungetc on your system, then report this to bug-gnuli b."
| ^~~~~
make[5]: *** [Makefile:1842: freadahead.o] Error 1
make[4]: *** [Makefile:1602: all] Error 2
make[3]: *** [Makefile:1506: all-recursive] Error 1
make[2]: *** [Makefile:1461: all] Error 2
make[1]: *** [package/pkg-generic.mk:198: /home/billa/buildroot-riscv-2018-10-20 /output/build/host-m4-1.4.17/.stamp_built] Error 2
make: *** [Makefile:36: _all] Error 2
Can any one please help me regarding above error.
Thanks in advance
Billa
Hi,
for spice-server project we import the top/maint.mk
file however we have an issue with these lines:
# Prevent programs like 'sort' from considering distinct strings to be equal.
# Doing it here saves us from having to set LC_ALL elsewhere in this file.
export LC_ALL = C
specifically this affect a2x
program (written in Python) which think that the encoding of some files is not utf-8 failing to compile documentation.
For more information see https://gitlab.freedesktop.org/spice/spice/issues/35.
What do you think about changing LC_ALL
to LC_COLLATE
?
Which one is better this or git://git.sv.gnu.org/gnulib.git and what's the difference ?
Sorry for being pedantic but according to its header, file tests/test-safe-alloc.c
is under LGPL-3.1+ -- clearly a typo but strictly speaking it is impossible to comply until such license is published, if ever. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.