Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37515283
en ru br
Репозитории ALT

Группа :: Разработка/Отладчики
Пакет: randomize_fd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: randomize_fd
Version: 0.1
Release: alt1

Summary: Randomizes the fd returned by open or socket when LD_PRELOADed

BuildRequires(pre): rpm-build-licenses
License: %lgpl3plus
Group: Development/Debuggers
Url: http://git.altlinux.org/people/imz/packages/randomize_fd.git

Source: %name-%version.tar

BuildRequires: gcc
# due to mkdir implied by install -D -t
BuildPreReq: coreutils >= 8.27

%description
Sometimes (to reproduce a bug) we want to force the use of different
file descriptors in a sequence of open(2) or socket(2) followed by
`close`, so that:

1. the new fd is different from the previous one,
2. and the previous one doesn't look like a valid descriptor anymore.

Here, we solve this problem by providing wrappers around open(2) and
socket(2) to be LD_PRELOADed.

%prep
%setup

%build
%make_build

%install
install -m0644 -D *.so -t %buildroot%_libdir
ln -sfv /usr/share/license/LGPL-3 -T COPYING

%files
%_libdir/*.so
%doc README.md TODO.md COPYING

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin