GPL 프로그램을 system 함수로 실행할때?

ironiris의 이미지

GPL에 대한 글이 종종 올라오던데요..

예전에 삼성에서 busybox 코드를 무단 도용해서 사용했다고 소동당했다고 들었는데
busybox의 코드라면 ls, mv, cp 등의 명령을 사용한거라고 생각됩니다.

그런데 이것이 GPL에 위반되는 사항인걸까요?
보통 프로그램에서 다른 프로세스를 죽일때 귀찮으니까
system("killall httpd"); 이런 식으로 죽일때가 있을텐데..
이런식으로 코딩하면 GPL위반인지 궁금하네요.

그러니까 C로 프로그램을 짰는데 그 안에서 system함수로 busybox에 있는 killall 을 호출하면 위반인가요??

cwryu의 이미지

삼성 등이 소송을 당한 이유는 말씀하시는 busybox의 파생물에 대한 문제가 아니라, 제품에 들어 있는 busybox에 대해 라이선스 고지와 소스 코드 배포 조건을 안 지켰기 때문입니다.

ironiris의 이미지

아 그렇군요. 감사합니다.

cjh의 이미지

system으로 호출하는 경우는 해당 프로그램(여기서는 killall)은 그걸 부르는 프로그램과 관련없이 독립적으로
동작하는 프로그램이니까 GPL의 적용을 받지 않습니다. 단순한 사용에 불과하니까요.

--
익스펙토 페트로눔

--
익스펙토 페트로눔

unipro의 이미지

질문의 의도와는 다른 답변이지만,
제가 알고 있는 선에서는, busybox가 ls, mv, cp 등을 system 함수로 호출하는 방식이 아닙니다.
busybox라는 바이너리가 ls, mv, cp 등의 모든 기능을 수행한다고 생각하면 됩니다.
바이너리의 크기를 줄이기 위해서 각각의 명령어에서 공통의 코드를 묶어버렸다고 들었습니다.
----
내 블로그: http://unipro.tistory.com

내 블로그: http://unipro.tistory.com

unipro의 이미지

질문을 다시 읽어보니 다른 프로그램에서 busybox를 system 호출하는 경우를 말하는 것 같군요.
----
내 블로그: http://unipro.tistory.com

내 블로그: http://unipro.tistory.com

winner의 이미지

system 호출과 so 혹은 dll과 얼마나 차이가 있는걸까요?
저는 만일 system 호출되는 프로그램이 필수적이라면 GPL에 의해 system 호출하는 프로그램도 GPL이 되어야 한다고 보는데요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.